MacOS - Failing to executing commands from terminal without starting new process.
Posted: 28 Nov 2023, 09:03
Hi!
I'm trying to better integrate TVPaint into our production pipeline by executing george commands and scripts from the commandline.
This works well on Windows.
Running this command in command line will find the TVPaint process that's already running, and execute the george commands in that application, and then return.
For MacOS, I've tried the following commands:
This will successfully put focus on the already running TVPaint process, just like the Windows example. However, the george commands will not run.
This command will open a new TVPaint process, and then successfully run the george command. But I don't want to open a new process.
Am I missing some trick here? Is the --args only functional when launching new processes on MacOS? Any solutions to this?
I'm trying to better integrate TVPaint into our production pipeline by executing george commands and scripts from the commandline.
This works well on Windows.
Code: Select all
"C:\Program Files\TVPaint Developpement\TVPaint Animation 11.5 Pro (64bits)\TVPaint Animation 11.5 Pro (64bits).exe" "cmd=[tv_warn 'Message1'][tv_warn 'message2']"
For MacOS, I've tried the following commands:
Code: Select all
open -a "/Applications/TVPaint Animation 11.5 Pro.app" --args "cmd=tv_warn Message1"
Code: Select all
open -n -a "/Applications/TVPaint Animation 11.5 Pro.app" --args "cmd=tv_warn Message1"
Am I missing some trick here? Is the --args only functional when launching new processes on MacOS? Any solutions to this?