Hi, I'd like to specify a priority when launching a process. For example, I want to launch a background process with a lower process priority than the main process. As of right now, new processes are spawned with the default priority class and tiny process library does not give us the ability to control that.
On Windows, we provide a priority class flag in the 'dwCreationFlags' parameter to CreateProcess as specified here:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms682425(v=vs.85).aspx
I'm assuming *nix has a similar mechanism.
I could create a PR if you'd like; though the implementation seems fairly straight forward.
Thank you
Tom
Hi, I'd like to specify a priority when launching a process. For example, I want to launch a background process with a lower process priority than the main process. As of right now, new processes are spawned with the default priority class and tiny process library does not give us the ability to control that.
On Windows, we provide a priority class flag in the 'dwCreationFlags' parameter to CreateProcess as specified here:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms682425(v=vs.85).aspx
I'm assuming *nix has a similar mechanism.
I could create a PR if you'd like; though the implementation seems fairly straight forward.
Thank you
Tom