|
From: | Paolo Bonzini |
Subject: | Re: [Help-smalltalk] call shell commands; synchronous return |
Date: | Tue, 08 Apr 2008 13:12:52 +0200 |
User-agent: | Thunderbird 2.0.0.12 (Macintosh/20080213) |
Stephen wrote:
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?
Smalltalk system: 'abc' Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |