[Twisted-Python] Processes in Twisted, only possible to run external prog?
Gabriel Rossetti
gabriel.rossetti at arimaz.com
Fri Aug 29 07:38:00 EDT 2008
Maarten ter Huurne wrote:
> On Friday 29 August 2008, Gabriel Rossetti wrote:
>
>> Maarten ter Huurne wrote:
>>
>>> Maybe you could bypass this problem by generating a short shell script
>>> that does "cd" before it starts Wine? Since the shell will be a
>>> separate process, it has its own working dir.
>>>
>> I'd rather not, because that would mean implementing everything (the
>> whole conversion process) in the script.
>>
>
> Do the other processing steps also require the working directory to be
> changed? Most unix programs work fine from any dir as long as you provide
> absolute paths for the input and output files.
>
> Bye,
> Maarten
>
Maarten,
It worked, I was able to do the pre & post processing using abs paths
(thus from outside of the working dir)
and the encoding was done from a script that changed the working directory.
Thank you,
Gabriel
More information about the Twisted-Python
mailing list