Hey everyone,
I've been playing with generating shell scripts from AE (as seen in IMP's muster script viewtopic.php?t=103) but my scripts don't run...
I have a feeling it has to do with mac vs unix handling of line breaks, as TextWrangler reads the generated file as Macintosh line breaks...
any mac folks have similar experiences?
Thanks
-austin
Shell scripts from AE
Moderator: Paul Tuersley
-
- Posts: 98
- Joined: March 14th, 2006, 2:16 pm
- Location: Atlanta, GA
- Contact:
Hey austin,
When you say your scripts aren't running, what kind of results are you getting? Can you echo something back to AE? Are you having permissions problems? Are you using AE6.5 or 7?
I've had mostly good luck with AE7, and system.callSystem() as long as my permissions are set to excecutable.
Best,
Dale
When you say your scripts aren't running, what kind of results are you getting? Can you echo something back to AE? Are you having permissions problems? Are you using AE6.5 or 7?
I've had mostly good luck with AE7, and system.callSystem() as long as my permissions are set to excecutable.
Best,
Dale
i was writing out a .sh file, and then trying to run that file. the script would run, but nothing would happen. my guess is that the line breaks were broken, and the the comment on the first line commented out the whole script. (If i opened the file in BBEdit, changed the line breaks to Unix, and ran the script manually, it worked)
I switched to using system.callSystem, and that seems to work well.
Thanks for the reply, Dale!
-austin
I switched to using system.callSystem, and that seems to work well.
Thanks for the reply, Dale!
-austin