Search Results

Search: Posts Made By: Corona688
5,079
Posted By Corona688
The code I suggested? gedit filename echo...
The code I suggested?

gedit filename
echo "Editor has now quit"
5,079
Posted By Corona688
Have you tried my suggestion of not putting gedit...
Have you tried my suggestion of not putting gedit in the background at all?
5,079
Posted By Corona688
Have you tried just wait rather than wait $PID? ...
Have you tried just wait rather than wait $PID? Or how about not putting it into the background at all:

gedit "$1"
echo "Editing now finished"
5,079
Posted By Corona688
If you run the program in foreground instead of...
If you run the program in foreground instead of background, your program can simply wait for it instead of polling.

If you run it in background, you can save its PID with PID="$!" and poll for...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 06:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy