-- Sherlock, Ric wrote:
> The following 2 changes to pacman.ijs enable it to work
> correctly where
> J602 is installed to a (Windows OS) directory path containing spaces:
>
> LINE 37 (definition of HTTPCMD & UNZIP)
> HTTPCMD=: jpath '~install/tools/ftp/wget.exe -O %O -o %L -t %T %U'
> becomes
> HTTPCMD=: '"',(jpath '~install/tools/ftp/wget.exe'),'" -O
> %O -o %L -t %T %U'
>
> LINE 345 (definition of shellcmd)
> shell y
> Becomes
> shell dquote y
Acutally is there a reason to use shell to spawn cmd which then runs the
utility rather than spawning the utility directly? If not then it would
not be necessary to double quote the command and line 345 would become
just
spawn y
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm