What I'd do is wrap the subprocess call in a try/except, and dump out some
output to indicate what's wrong.  Something like

try:
  subprocess.Popen(...)
except:
  import traceback
  traceback.print_exc()

and then package it under pyinstaller, run, and see what you get.  It might
give some guidance.


On Tue, Apr 19, 2011 at 9:24 AM, james <[email protected]> wrote:

> Hello,
>   I have a program which uses the createcd program from
> http://isorecorder.alexfeinman.com/CreateCD.htm via subprocess.Popen.
> This works great as long as I am running the python scripts directly.  When
> I attempt to do it via pyinstaller, nothing happens.  I have other utilities
> I am using through Popen with no problem via Pyinstaller.
>
> My call is:
>   subprocess.Popen(command,  stdin=None,  stdout = subprocess.PIPE, stderr
> = subprocess.STDOUT,  shell=True)
>
> where command is
>   C:\\createcd\\createcd.exe -r:F:\ *
>
> Any ideas why I would get different behavior with a program build by
> pyinstaller vs running the python directly?
>
> Thanks
> James
>
>  --
> You received this message because you are subscribed to the Google Groups
> "PyInstaller" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/pyinstaller?hl=en.
>



-- 
Daniel Hyams
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to