[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] call shell commands; synchronous return
From: |
Stephen |
Subject: |
[Help-smalltalk] call shell commands; synchronous return |
Date: |
Tue, 08 Apr 2008 23:08:12 +1200 |
User-agent: |
Thunderbird 2.0.0.12 (Macintosh/20080213) |
Hi,
The method I've been using for submitting shell commands is asynchronous...
For example:-
shellCmd := '<long running shell command here>'.
pipe := FileStream popen: shellCmd dir: FileStream read.
pipe returns after about a second no matter how long the shell command
takes to complete.
Is there a way to call shell commands in a synchronous fashion?
Thanks
Stephen
- [Help-smalltalk] call shell commands; synchronous return,
Stephen <=