I'm looking for a solution capable of doing this on Java:
- Spawn a process.
- Suspend it (like kill -STOP does in Linux).
- Continue a suspended process (like kill -CONT in Linux).
- Read/Write their standard input/output pipes at runtime.
- Working on (at least) Linux and Windows.
As far as I know, the Java standar only implements first and fourth, but not the second neither the third.
What could I do?