source: tags/1.5.0/t/run-program.lisp

Last change on this file was 15041, checked in by Mark Evenson, 7 years ago

Restore compilation on Java 6

JSR-223 is always present so usage in <file:build.xml> is deprecated.

Fix compilation for SYS:RUN-PROGRAM on Java 6. Not expected to be
working very well. The general strategy is to undeprecate
SYS:RUN-SHELL-COMMAND is some manner that uses the Java 6 NIO plus
thread pools to drain IO.

Conditionalize on runtime platform of parts of our RUN-PROGRAM
implementation.

Stub implementation of NIO async processor to drain queue.

TODO: figure out how why "cat /etc/passwd" doesn't ever give output?

File size: 158 bytes
Line 
1(prove:plan 2)
2
3(prove:ok
4 (uiop/run-program:run-program "ls" :output t))
5
6(prove:ok
7 (uiop/run-program:run-program "ls" :output :string))
8
9(prove:finalize)
10
Note: See TracBrowser for help on using the repository browser.