[squeak-dev] debugging PipeableOSProcess
K. K. Subramaniam
subbukk at gmail.com
Thu Mar 6 16:38:37 UTC 2008
On Thursday 06 March 2008 4:21:17 am Jimmie Houchin wrote:
> Hello,
>
> I am having a very strange problem using PipeableOSProcess.
>
> I created a method similar to below. It worked fine. Still does.
>
> updateLocalDirectory
>
> | c d p |
>
> c := 'wget http://www.url.com/dir1'.
> d := '/home/jimmie/VL/dl/'.
> p := PipeableOSProcess command: c environment: nil workingDir: d
> input: nil output: nil error: nil errorPipelineStream: nil.
> p closePipes
>
>
> I attempted to use the same method to download repositories for other
> directories on the same website. The only change was from dir1 to dir2.
>
> Running the command in a shell with dir2 works just fine. Copying the
> command from Squeak and pasting in the shell, works fine.
>
> But when I run the method in a workspace. Squeak just sits and waits on
> wget which at some point just stops. It doesn't exit or finish.
Are you using any web-proxy in your shell environment ($http_proxy)? You will
have to use the same setting in the environment: too. You may also want to
use the -q option (quiet) when running wget this way.
Subbu
More information about the Squeak-dev
mailing list
|