PDA

View Full Version : [SOLVED] Just launch application in unix script



hakermania
July 21st, 2010, 10:00 AM
OK, let;s say that in a part of my script I want to launch to applications and then the script continue to the next line after launching the applications. For example,

vlc & gedit
echo "Vlc and gedit launched" > $HOME/apps.log
The problem is that the applications do launch, but they must exit to continue writing to apps.log file. Is there any way to just launch an application and then continue?

iponeverything
July 21st, 2010, 10:13 AM
vlc&
disown
gedit&
disown
echo "Vlc and gedit launched" > $HOME/apps.log

trent.josephsen
July 21st, 2010, 01:52 PM
I HAIL YOU!

Wow, what a simple solution. It's a wonder I didn't notice that before. Will certainly come in handy.

hakermania
July 22nd, 2010, 07:32 AM
Cool thank you very much. :)