Quantcast
Viewing all articles
Browse latest Browse all 40524

Launching and configuring terminal window from oF application

system("osascript -e 'tell application \"Terminal\" to do script \"killall opencvHaarFinderExampleDebug\"'");

YES. this works. great.
I was worried that killall would force quit the app and not exit it correctly.. But I was wrong, even the exit() part of my opencvHaarFinderExampleDebug app got called correctly.

thanks.


Viewing all articles
Browse latest Browse all 40524

Trending Articles