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.
