How to get a shell prompt back after a shortcut launches a command?
2 Attachment(s)
I made a shortcut on the desktop (using RHEL5.1 with KDE) that launches a script to mount a usb device.
The shortcut runs the command: "konsole -noclose -e /crib/chongmi/mountusb.sh" It launches konsole and mounts the usb drive, but then it never returns the a prompt. It just hangs there. Actually any command makes it hang, even "df" command never returns a prompt. "konsole -noclose -e df" Anyone know how to make konsole return a shell prompt after executing a command? Thanks! |
add "&" at the end of the command
it will put the command in the background, and return to the prompt |
Actually I tried that, adding &, but that doesn't work either.
Any other ideas? |
why don't you run the script without the console ?
Code:
/crib/chongmi/mountusb.sh |
All times are GMT -5. The time now is 12:14 PM. |