[win32] selftest of latest bzr.dev with encodings improvements

Alexander Belchenko bialix at ukr.net
Sun Jun 11 05:23:54 BST 2006


John Arbash Meinel пишет:
> 
> As near as I can tell, you can't actually spawn 'del' on windows. Both
> 'del' and 'erase' seem to be builtin commands from 'cmd.exe'

Yes, exactly. 'del' is command of shell, not separate program. So it 
cannot be called without shell.

> 
> The only way I've found to run it, is by calling:
> 
> call(['cmd.exe', '/c', 'del', filename])

This approach has one minor issue: it does not compatible with Windows 
98. Despite the fact we don't try to provide support for win98 anyway I 
think it's good to choose more universal solution.

Yesterday I send bundle with patch that wrap del command into bat-file 
so it also works OK, because it runs in command shell. So my patch is 
more win98-friendly. I'm willing to don't use win98, so I'm happy with 
your patch too.

Anyway, +1.

--
Alexander





More information about the bazaar mailing list