|
|
| Author |
Message |
< Erlang bugs mailing list ~ open_port cd PortSetting not working on windows |
| nesrait |
Posted: Sun Dec 27, 2009 11:46 pm |
|
|
|
User
Joined: 02 May 2009
Posts: 33
Location: Portugal
|
Hi all,
Just found out that the open_port {cd, Dir} PortSetting isn't working on
windows.
The following shell interaction show the problem in R13B03:
> Eshell V5.7.4 (abort with ^G)
> 1>
> open_port({spawn_executable,"d:/Projectos/ewgi_examples/priv/www/cgi_index/index.exe"},
> []).
> #Port<0.509>
> 2> open_port({spawn_executable,"./index.exe"},
> [{cd,"d:/Projectos/ewgi_examples/priv/www/cgi_index"}]).
> ** exception error: enoent
> in function open_port/2
> called as open_port({spawn_executable,"./index.exe"},
>
> [{cd,"d:/Projectos/ewgi_examples/priv/www/cgi_index"}])
> 3> cd("d:/Projectos/ewgi_examples/priv/www/cgi_index").
> d:/Projectos/ewgi_examples/priv/www/cgi_index
> ok
> 4> open_port({spawn_executable,"./index.exe"}, []).
> #Port<0.526>
>
Bug also spotted on R13B01/2.
Cheers,
Davide
Post received from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|