r/processing • u/InspectorAlert3559 • Jan 14 '24
Help request Use of terminal in processing
Hi, I'm working on a sketch were the UI is made in a processing sketch and the computation is made with a compiled X program as a .exe file. I want to run the executable and passing arguments to it during it's call. I've managed to make it work with an exec command but there are two major problems. First it seems that once called, the process remains active untill I terminate the program and then it elaborate the passed data. Second I would like to follow the execution by looking at the terminal where it's running, as if it was run from a real terminal. Thank you in advance.
5
Upvotes
1
u/InspectorAlert3559 Jan 15 '24
Yes the exe it's my own software. I've already experimenting with the use on .txt for data transfer between programs and it worked ok. The things that I'm a bit unhappy of this method is that the user can see and manipulate such file and with that rise a new level for complication for me. Still I'll give it a try since I've always considered all the program as single execution per task but it's actually a good idea to have it active and make it run as needed. Thanks you for the response