Wait for a system command executed in the background

Brice mealier_brice at NO_SPAM_yahoo.fr
Sun Nov 5 17:21:45 EST 2006


On 2006-11-05, Dennis Lee Bieber <wlfraed at ix.netcom.com> wrote:
> On Sun, 5 Nov 2006 18:32:39 +0100, Brice
><mealier_brice at NO_SPAM_yahoo.fr> declaimed the following in
> comp.lang.python:
>
>
>> 
>> At the time, I have a working solution (not fully developped by
>> myself...), but in this solution os.system is used to start the
>> different shell commands and the commands do not have a & at the end.
>> Therefore during the whole execution of the plugin, quodlibet is not
>> responsive.
>>
> 	Might it not be easier to just write each of those commands to a
> temporary file, then at the end submit that file as a shell script that
> runs in the background? {Maybe the last command should be one the
> deletes the file itself?}
>  

At the time being I don't see other possible solution. Let's see if
someone else's got an idea.

Thx

-- 
Brice
Arch Linux (Linux user nb. 372699)
-----
"Unix IS user friendly, it is just selective about who his friends are"



More information about the Python-list mailing list