ctwise 132 Posted February 16, 2013 Alfred waits for a script to finish before re-running it with further input. This works as designed. But it appears to also wait for child processes. If my script spawns a background process and returns Alfred waits for the background process to complete. 1 Amoftcoorb reacted to this Share this post Link to post
CarlosNZ 102 Posted February 17, 2013 Yup, it sure does. I found the only way to get Alfred to well and truly forget about a spawned background script was: ./myscript.sh > /dev/null 2>&1 & Share this post Link to post
Vero 366 Posted February 19, 2013 This is how NSTask works - the solution provided by CarlosNZ is the best one for you to use. I've moved this to Noted as Andrew always likes to consider options, so we'll keep a note on this one Share this post Link to post