[squeak-dev] PipeableOSProcess forkAndExec arguements

Gerardo Richarte gera at corest.com
Wed Apr 28 14:49:09 UTC 2010


Arushi Aggarwal wrote:
> Hi,
>
> Thanks for the reply. I managed to get it to work with arguments, that
> dont have spaces in the path.
>   
for spaces you can try enclosing the strings with spaces in
double quotes, I don't know if it's going to work, so let us
know the result:

p := PipeableOSProcess  forkAndExec:'Squeak.exe'
                       arguments: #('Squeak3.10.2-7179-basic.image')
                       environment: nil
                       descriptors: nil
                       workingDir: '"C:\Documents and Settings\Arushi
Aggarwal\Desktop\CS598\win32-Squeak3.10.2-7179\Squeak3.10.2-7179\"'
                       errorPipelineStream:(InternalPipe
nonBlockingPipe nextPutAll: 'this is the error stream '; yourself).


    gera



More information about the Squeak-dev mailing list