On 10/05/2018 11:37 AM, Jason Kenny wrote: > Been using popen with parts via overriding SPAWN var since the start. > > +1 on having this be the default > > Jason > > Get Outlook for Android<https://aka.ms/ghei36> > > ________________________________ > From: Scons-dev <scons-dev-boun...@scons.org> on behalf of Bill Deegan > <b...@baddogconsulting.com> > Sent: Friday, October 5, 2018 10:32:50 AM > To: SCons developer list > Subject: Re: [Scons-dev] Subprocess.popen() on win32? > > Come now. > Win32.py's spawn implementation was updated in 2012.. ;) > > If we universally switch to subprocess.Popen(), then we can safely chdir for > non python function actions. > But passing in the cwd argument. > > That seems likely to be useful.. > > -Bill
I've had on my informal list of "modernizations" to look at wrenching forward all of the os.system, os.spawn*, os.popen, etc. calls to use subprocess. I think I even ran an experiment with it once, but don't seem to have it saved. Maybe I'll try that again if it's of interest? _______________________________________________ Scons-dev mailing list Scons-dev@scons.org https://pairlist2.pair.net/mailman/listinfo/scons-dev