[win32] selftest of latest bzr.dev with encodings improvements
Robert Collins
robertc at robertcollins.net
Mon Jun 12 10:48:03 BST 2006
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 ?
Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060612/a06bc69e/attachment.pgp
More information about the bazaar
mailing list