java_posix_spawn
java_posix_spawn copied to clipboard
Use JNI to implement process spawning without fork()
I think under linux vfork is called by the JVM now, it might be worth noting that in the readme
This line (https://github.com/axiak/java_posix_spawn/blob/master/src/c/jlinuxfork.c#L303): ``` pargv[i + 1] = (char *)malloc(3 * fds[i]); ``` should be allocating memory that is used later to sprintf an integer representing a fd. However the...
http://bugs.sun.com/view_bug.do?bug_id=5049299 states "This bug is not available." Perhaps some permissions are involved?
This occurred when using java_posix_spawn on Arch Linux on the Raspberry Pi. Open a ServerSocket Launch a process, any process, using new SpawnProcess() Close ServerSocket Everything appears to work as...