Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
background command within function
- X-seq: zsh-users 30173
- From: Ray Andrews <rayandrews@xxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: background command within function
- Date: Tue, 17 Dec 2024 17:54:37 -0800
- Archived-at: <https://zsh.org/users/30173>
- List-id: <zsh-users.zsh.org>
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author