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



Maybe when it's run there's still no network connection. I'm currently using other computer, when I get back home I'll try to add the commands to /etc/network/if-up.d and see if it works

On Tue, Sep 8, 2009 at 7:44 PM, Michał Sawicz <michal sawicz net> wrote:
Dnia 2009-09-08, wto o godzinie 11:34 -0700, Dylan McCall pisze:
> On 9/8/09, Michał Sawicz <michal sawicz net> wrote:
> > Dnia 2009-09-08, wto o godzinie 14:46 +0100, Daniel Sousa pisze:

> 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 :)

You should be more clear:

> >>         banshee-1 && python ./bansheeserver.py

This will wait for a 0 exit status

> >> banshee-1 &
> >> python ./bansheeserver.py

And this won't.

That, I think, is about it in the shell know-how section of this list ;)

--
Michał Sawicz <michal sawicz net>

_______________________________________________
banshee-list mailing list
banshee-list gnome org
http://mail.gnome.org/mailman/listinfo/banshee-list



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