Le 14/06/2015 00:55, Antonio Sánchez a écrit : > Hi, I have read this thread: > http://gambas.8142.n7.nabble.com/patch-for-setting-directory-on-EXEC-td41205.html > > ...but at the end how we can set the working directory when we use EXEC? > > > Thanks.
This is written in the thread there: > if PWD is set using the WITH keyword option to EXEC then > this is the current directory for the process spawned by EXEC. So you write something like that: EXEC [ "myprog", "-option", "arg" ] WITH [ "PWD=/working/directory" ] It's a syntax hack ; maybe it deserves its own syntax. Regards, -- Benoît Minisini ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user