Hi,
In my FileMerge bundle support script (Support/bin/filemerge.sh) I call opendiff. If FileMerge is not already open, 2 seconds after it launches TextMate displays the spinning beachball. Quitting FileMerge makes the beachball go away.
I have tried using & to execute opendiff as a background process, but that didn't help. Any ideas?
Regards,
Aparajita www.aparajitaworld.com
"If you dare to fail, you are bound to succeed." - Sri Chinmoy | www.srichinmoylibrary.com
On 24/4/2006, at 20:32, Aparajita Fishman wrote:
[...] I have tried using & to execute opendiff as a background process, but that didn't help. Any ideas?
Also add &>/dev/null (before the &). Otherwise TextMate will still wait for the command to exit (since it doesn’t properly detach from stdout).
[...] I have tried using & to execute opendiff as a background process, but that didn't help. Any ideas?
Also add &>/dev/null (before the &). Otherwise TextMate will still wait for the command to exit (since it doesn’t properly detach from stdout).
Thanks, that did the trick. You might want to add that trick to the documentation for writing commands, it's a fairly important thing to know for those of us who are not yet Unix geeks.
Regards,
Aparajita www.aparajitaworld.com
"If you dare to fail, you are bound to succeed." - Sri Chinmoy | www.srichinmoylibrary.com