process-api: ProcessBuilder and Process API module (pipe-buffer deadlock and its fixes, timeouts and process-tree kill, grandchild holding the pipe, environment/redirect/stdin, ProcessHandle, startPipeline, shell and option injection), ProcessRunner, 14 contract tests
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b3W3uHbHAmM3orhn7b
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
47e4ccbefa
commit
a714780bca
@@ -0,0 +1,21 @@
|
||||
== 1. our own process
|
||||
pid > 0: true, command ends with java: true
|
||||
has a parent: true
|
||||
|
||||
== 2. onExit() instead of a blocked thread
|
||||
main thread is free; alive = true
|
||||
callback: exited with 3
|
||||
|
||||
== 3. what ProcessHandle.Info reveals about a child
|
||||
command = /usr/bin/sleep
|
||||
arguments = 5
|
||||
user set = true, startInstant set = true
|
||||
|
||||
== 4. a handle to a finished process
|
||||
alive after exit: false
|
||||
|
||||
== 5. a real pipeline without a shell: printf | sort | uniq -c
|
||||
1 a
|
||||
3 b
|
||||
1 c
|
||||
stages: 3
|
||||
Reference in New Issue
Block a user