Hi,
I have a bit of confusion here. Maybe I am concieving a wrong approach in the whole design and I am going in the wrong direction. Any advice or criticism is welcomed by the way. Please, check out the following situation.
Imagine a main program and a module (with an optional GUI) that accepts command line options. If no comand line option is specified the module will start with its own gui. If the main program launches the module with parameters it will then perform some automatic action that does not require user interaction (connect to a database, check a file in a web server, deploy an update, perform a backup, what ever)
AND has to return an output to the main program.
i.e:
Main wants to launch
Module with the parameters "-customer_id=123443 -employee_id=12 -password=ecrypted_whatever -latest_five_orders".
So the console output could be something like this:
"23514" "14/1/18" "340.56€"
"23501" "2/1/18" "23.15€"
...
...
Maybe we dont actually need to display the output in the console BUT we need to return the values to, for example, a grid in the Main program or maybe a variable in the main program (output_string='23501,2/1/18,23.15€').
I dont want to use a network client/server design and I dont want to generate temporary files on hard disk.
regards