Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: background command within function




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.






Messages sorted by: Reverse Date, Date, Thread, Author