That is, instead of: $ ./frysk/bindir/fhpd -- bash -c "ls" Usage: fhpd <PID> || fhpd <EXEFILE> || fhpd <COREFILE> [<EXEFILE>] [...] Exception in thread "main" java.lang.RuntimeException: command not readable: bash at frysk.bindir.fhpd$1.parseCommand(fhpd) at frysk.util.CommandlineParser.doParse(fhpd) at frysk.util.CommandlineParser.parse(fhpd) at frysk.bindir.fhpd.main(fhpd) have: $ fhpd -- ls -l Loaded executable: ls (fhpd) run total 94100 -rw-r--r-- 1 cagney cagney 0 2008-01-08 16:40 checked-for-java-util-vector [...] i.e., both find "ls" for the load, and default ls's argument list to: argv[0]="ls" argv[1]="-l"
$ ./frysk/bindir/fhpd -- ls -l Loaded executable file: /bin/ls (fhpd) info args ls -l
This is now working: $ ./frysk/bindir/fhpd -- ls -l [0.0] Loaded executable file: /bin/ls (fhpd) info args ls -l (fhpd) info exe /bin/ls (fhpd) run Attached to process 5955 starting/running with this command: ls -l Running process 5955 (fhpd) total 118876 -rw-r--r-- 1 cagney cagney 0 2008-03-18 15:17 checked-for-java-util-vector
see previous comment; part of frysk.proc.dead refactoring.