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

Alexander Belchenko bialix at ukr.net
Mon Jun 12 12:09:29 BST 2006

Robert Collins пишет:
> On Sun, 2006-06-11 at 07:23 +0300, Alexander Belchenko wrote:
>>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.
> 'command /c del' should work on both platforms no ?


'command' -- only for Win98
'cmd' -- only for WinNT (Win2000/WinXP)


More information about the bazaar mailing list