I am looking at the Poco Process class for launching programs and I have a few enhancement requests.
I would like to be able to specify an initial working directory
I want to be able to set the priority of the process when it is first created.
I want to be able to specify a collection of environment variables (name/value pairs).
I realise that these are very windoze-y things to ask for. All these things are parameters to the WIN32 API routine that creates a process. But the app I am working on has windoze as the primary platform. The code that launches apps is windoze-centric because it needs to be able to do all these things. But I want to make it platform-independent. I reckon it can be done. My requirements do have corresponding ways of being done on posix. For example, environment variable can be set using putenv, the current directory of a child process can be set using chdir. The priority of a running process can also be changed using setpriority. Is there any chance the Poco Process class can be extended to cover these areas please?