
24 Nov
2007
24 Nov
'07
5:03 a.m.
Roberto Zunino wrote:
Allan Clark wrote:
-- Create the process do (_pIn, pOut, pErr, handle) <- runInteractiveCommand command -- Wait for the process to finish and store its exit code exitCode <- waitForProcess handle
Warning: this will get stuck if the command output is so big that it fills the SO buffers. This limit is 64K here.
Regards, Zun.
Ah thanks for the warning, I've never tested this on anything particularly large. regards allan