Thanks. I'm subscribing to [email protected] and unsubscribing from here.
Later everybody.


On Sat, Jul 10, 2010 at 4:56 PM, RA Brown <[email protected]>wrote:

> John Porter Simons wrote:
>
>> 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.
>>
>>
> John,
>
> You may have better luck asking this on the developers mailing list. But
> for starters try
> http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OpenOffice.org_Developers_Guide
>
> Hope this helps.
>
> Andy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to