background command within function
Ray Andrews <[email protected]>
| Newsgroups | gmane.comp.shells.zsh.user |
|---|---|
| Message-ID | <[email protected]> |
gg()
{
imwheel
/opt/GeoGebra-Linux-Portable-5-2-853-0/geogebra-portable $@ &
imwheel -k -q
}
... I like to background things where I can, but in this case the
function continues to execute and 'imwheel -k -q' gets run even before
geogebra is quit. I think I'm wanting to have my cake and eat it too,
but just in case, can I have both? -- I get my prompt back, but the
final command is not run until I quit geogebra? Not a big deal, I can
always switch to another xterm if I want one, still there might just be
a way. I'll bet there is.