We need to call UNIX shell commands from a running Smalltalk image. We can use the system: method on UNIXProcess, but for the entire time the shell is running, we see smalltalk (esnx) processes using 100% of a cpu.

How can we invoke a shell script, wait for it to complete, and acquire its exit/return code, under UNIX without driving the CPU crazy?

daswartz wrote:We need to call UNIX shell commands from a running Smalltalk image. We can use the system: method on UNIXProcess, but for the entire time the shell is running, we see smalltalk (esnx) processes using 100% of a cpu.