Erlang Mailing Lists

Author Message

<  Erlang bugs mailing list  ~  open_port cd PortSetting not working on windows

nesrait
Posted: Sun Dec 27, 2009 11:46 pm Reply with quote
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
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

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