Was told the dev@ list might be better for this question.

---------- Forwarded message ----------
From: John Porter Simons <[email protected]>
Date: Sat, Jul 10, 2010 at 4:38 PM
Subject: Help running soffice.bin from Python
To: [email protected]


Hello everybody,

I'm trying to spawn an OpenOffice subprocess from Python. Rather than
running "soffice" which then runs "soffice.bin" I'm trying to run
"soffice.bin" directly, so I have a convenient handle on its PID.

This works from the terminal:
/usr/lib/openoffice/program/soffice.bin -headless
-accept="socket,port=8100;urp;"

It runs and waits patiently for connections. However when I do the same
thing with Python's subprocess.Popen(), it returns immediately with code 77.

Anyone know what code 77 is? I tried grepping through the source but 77
occurs a whole bunch of times. Anybody know where the error codes are
enumerated?

Thanks in advance.

Reply via email to