[Scons-users] Changing working directory

Pawel Tomulik ptomulik at meil.pw.edu.pl
Fri Apr 19 14:52:21 EDT 2013


Thanks .. good to know.

W dniu 19.04.2013 20:28, Gary Oberbrunner pisze:

> 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

> <mailto: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 <mailto:Scons-users at scons.org>

> http://four.pairlist.net/__mailman/listinfo/scons-users

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

>

>

>

>

> --

> Gary

>

>

> _______________________________________________

> Scons-users mailing list

> Scons-users at scons.org

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

>



--
Paweł Tomulik



More information about the Scons-users mailing list