Re: ?howto start nautilus from shell script, wait for its window to be closed and then proceed with exec of that script?



On Fri, 2008-11-21 at 19:39 +0100, Tilman Michael Jaeschke wrote:
> hey...
> 
> i tried do like the subject says... the new nautilus windows instance 
> starts in background and the script continues to exec immediately... 
> tried to get an pid but since pidof returns the pid of the governing 
> process it doesnt work.

Thats not the problem you're having. It doesn't return immediately when
its started first time. However, if you start a second copy while its
already running it just tells the other instance to open a window and
returns.

There is no way atm to work around this.



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