[Scons-users] Changing working directory

Gary Oberbrunner garyo at oberbrunner.com
Fri Apr 19 14:28:59 EDT 2013


It is better NOT to use the chdir keyword param -- that won't work with -j
because a process can have only one current working dir. The 'cd ...'
method works better, but of course is not as cross-platform.


On Fri, Apr 19, 2013 at 2:25 PM, Pawel Tomulik <ptomulik at meil.pw.edu.pl>wrote:


> What is actually preferred method for changing working directory by

> tools when using external programs? Some of the tools I've seen use

> construction such as 'cd $TARGET.dir && dosomething $TARGET -o $SOURCE'.

> Is there some reason for this? Is this portable, or maybe it is better

> to use chdir keyword parameter of SCons.Builder.Builder?

>

> Regards?

> --

> Paweł Tomulik

>

> ______________________________**_________________

> Scons-users mailing list

> Scons-users at scons.org

> http://four.pairlist.net/**mailman/listinfo/scons-users<http://four.pairlist.net/mailman/listinfo/scons-users>

>




--
Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20130419/39c25a81/attachment.htm>


More information about the Scons-users mailing list