I am looking for a JUCE class which can invoke a third party application from a JUCE application (in Windows OS).
My JUCE application sends some commands to the third party app, which will process the data and return results in form of a string.
I need to collect the data and process it.
Currently I am using “system” command to inovke the third party app from my JUCE app.
I am able to execute the third party app as expected.
But the problem is, whenever the third party app is invoked, a command window pops up.
Also I need to redirect the third party app’s output to a file and then read the file to check the output.
This is causing significant delay in the JUCE app execution.
Is there a simpler way of invoking a windows executable from a JUCE application, without opening a command prompt or any information to the user that the JUCE application is invoking another application to do certain process.
the method i mention opens no command-prompt (but is win-only), but of cause you will see in the task-manager/process-explorer that you app is invoking some other application.
My application returns some string to the stdout as a result of executing the application.
If I a using the create Process function, how do I recieve the result string?