[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: bug regarding os.execute?
- From: "Xu Wang" <xu4wang@...>
- Date: Mon, 21 Jul 2008 15:33:33 +0800
OK thanks Shmuel for the test.
So, this is a path-with-space problem of MS itself.
2008/7/21 Shmuel Zeigerman <shmuz@bezeqint.net>:
> I would say this is a bug of the Microsoft C run-time, specifically, of the
> `system' function that os.execute uses. See below the reproduction of this
> bug with no Lua involved:
>
>
> E:\luabin>cmd /C "C:\Program Files\TortoiseSVN\bin\subwcrev" "a"
> 'C:\Program' is not recognized as an internal or external command,
> operable program or batch file.
>
> E:\luabin>cmd /C "C:\Program Files\TortoiseSVN\bin\subwcrev" a
> Directory or file 'a' does not exist
>
> --
> Shmuel
>