Running Terminal Commands from OSX

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
philspitler
Posts: 39
Joined: November 2nd, 2005, 10:20 am
Contact:

I'm using the command below.

outputMsg=system.callSystem("xxxxx");

It works but I want it to open the command in an OSX terminal window instead just running silently?

Also, currently AE waits for the system call to finish before giving control back to the AE gui, I just want it to set my command running then put me back in AE (much like BG render does).

Any ideas?

Cheers.

Phil
Phil Spitler
drockne
Posts: 13
Joined: March 2nd, 2012, 10:10 am

I've been noodling on this problem as well. I don't have a complete solution yet, but I thought it might be helpful to share my thought process so far. Rather than use the callSystem method, I'm thinking the best solution is to write a text file temporarily that contains the intended terminal command, save it as a .command file, then have the script execute it.

No code examples for this yet, I still have to write it and test it myself.
Post Reply