[Scons-dev] Subprocess.popen() on win32?
Bill Deegan
bill at baddogconsulting.com
Fri Oct 5 13:32:50 EDT 2018
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
On Fri, Oct 5, 2018 at 10:28 AM Russel Winder <russel at winder.org.uk> wrote:
> I shall be flippant in the hope of being humorous, yet with an element of
> possible truth:
>
> Perhaps no-one has bothered to update that bit of code in the last decade
> and
> a half?
>
>
> Did you mean subprocess.Popen? Worth noting that the API for subprocess
> changes from call* in earlier versions to run in later. Somewhat annoying
> for
> compatibility across many Python versions.
>
>
> On Fri, 2018-10-05 at 10:17 -0700, Bill Deegan wrote:
> > Greetings,
> >
> > Any reason we're not using subprocess.popen() on win32?
> > We're still using os.spawnve() which is known to have some threading
> issues.
> > https://bugs.python.org/issue6476
> >
> > -Bill
> > _______________________________________________
> > Scons-dev mailing list
> > Scons-dev at scons.org
> > https://pairlist2.pair.net/mailman/listinfo/scons-dev
> --
> Russel.
> ===========================================
> Dr Russel Winder t: +44 20 7585 2200
> 41 Buckmaster Road m: +44 7770 465 077
> London SW11 1EN, UK w: www.russel.org.uk
>
> _______________________________________________
> Scons-dev mailing list
> Scons-dev at scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20181005/667624af/attachment.html>
More information about the Scons-dev
mailing list