Re: background command within function

Ray Andrews <[email protected]>
Newsgroups gmane.comp.shells.zsh.user
Message-ID <[email protected]>
On 2024-12-17 18:46, Lawrence Velázquez wrote:
> Have the function run its commands synchronously, but invoke the
> function itself asynchronously.
>
> 	% gg() { imwheel; geogebra-portable "$@"; imwheel -k -q }
> 	% gg &
Right.  There's the functionality, it would have been strange if the 
other idea worked.  Well explained Sensei.  Another good example of 
where the 'invisible' mechanisms involved are not exactly obvious, but 
should be understood.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.