[erlang-questions] os:cmd string parsing bug on Windows's erl

Lukas Larsson lukas@REDACTED
Fri Jun 27 10:29:49 CEST 2014


On Fri, Jun 27, 2014 at 3:39 AM, KukHyun Lee <kukhyun@REDACTED> wrote:

> Hello,
> erl on Windows7, os:cmd doesn't parse 'white-space'.
> C:\>erl
> Eshell V6.0  (abort with ^G)
> 1> os:cmd("c:/Program Files/test.exe").
> 'c:/Program' is not recognized as an internal or external command,
> operable program or batch file.
> []
Thanks for reporting this bug! I believe that I have fixed it already.
Unfortunately the fix introduces a backwards incompatibility so it will not
be released until OTP 18.  The fix is already merged into the master branch
at github.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140627/e7a450c6/attachment.htm>

More information about the erlang-questions mailing list