Re: [Banshee-List] Run command after Banshee start



On 9/8/09, Michał Sawicz <michal sawicz net> wrote:
> Dnia 2009-09-08, wto o godzinie 14:46 +0100, Daniel Sousa pisze:
>>         banshee-1 && python ./bansheeserver.py
>
> That's because this command would run python... AFTER banshee-1 would
> exit
>
> try:
>
>> banshee-1 &
>> python ./bansheeserver.py
>
> You may want to use 'sleep 5' between those to allow banshee to
> initialize.
>
> --
> Michał Sawicz <michal sawicz net>
>
> _______________________________________________
> banshee-list mailing list
> banshee-list gnome org
> http://mail.gnome.org/mailman/listinfo/banshee-list
>


Just to clarify that (since a bit of shell know-how is always good!),
the script here runs the second command after banshee exits with True.
&& is basically an AND condition :)

Bye,
Dylan


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]