Subprocess .wait() is not waiting

eryk sun eryksun at
Fri Mar 24 17:26:16 EDT 2017

On Fri, Mar 24, 2017 at 8:44 PM, adam.c.bernier <adam.c.bernier at> wrote:
> On Friday, March 24, 2017 at 1:37:49 PM UTC-7, eryk sun wrote:
>> Without knowing the command you're running, all we can do is
>> speculate. It could be that it's an application that uses a single
>> instance, in which case running another instance simply messages the
>> main process and then exits.
> Thank you, eryk sun. The command is calling a Python script which makes calls to
> openpyxl to generate 14 Excel files.

openpyxl should do all of the work in the process that Popen is
waiting on. Is the command-line in `args` something like
"C:\Python27\python.exe path\to\"?

More information about the Python-list mailing list