So this isn't really a problem with Indigo, but I'm still hoping for some insight. I have a schedule in Indigo that runs a shell script that starts up a DMX Lighting program. This has worked really well, but lately the DMX program has been crashing, or so it seems. My first thought was something was different in the new version of Indigo that was causing this to happen, but I've done my homework and that doesn't seem to be the case. If I manually launch the DMX program, it runs perfectly without crashing. But, if I launch the program using Terminal and the same shell script that Indigo uses, the program will launch and run normally, but as soon as I quit the Terminal app, the DMX program quits as well. This is basically the same problem when Indigo ran the script...About 25 minutes after Indigo runs the shell script, the DMX program crashes and I get this error message:
- Code: Select all
Action Collection Error Run Shell Script action: script /Library/Application Support/Perceptive Automation/Scripts/Shell/QLCStart.sh exited abnormally with a return code of: 139
so I'm half-way guessing that after a certain period of time, Indigo "times out" the shell script, which does the same thing as me quitting Terminal, resulting in the program crashing.
I realize this is way out the prevue of Indigo, but is there something I can add to my shell script that would exit it gracefully without causing the DMX program to crash? I've tried adding
- Code: Select all
exit 0
and just
- Code: Select all
exit
but neither worked.
Any suggestions or hints welcome, and Thanks in Advance...