[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] call shell commands; synchronous return

From: Paolo Bonzini
Subject: Re: [Help-smalltalk] call shell commands; synchronous return
Date: Tue, 08 Apr 2008 13:12:52 +0200
User-agent: Thunderbird (Macintosh/20080213)

Stephen wrote:

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'


reply via email to

[Prev in Thread] Current Thread [Next in Thread]