May 20
Anibal Escobar passing argument to os_process zip
May 20, 2015; 15:46
Anibal Escobar
passing argument to os_process zip
HI, I'm on Lasso 8.5 and trying to do the following:
var('os' = OS_Process('/usr/bin/zip', array('-qr ', '"/my path/myfolder"','"/my path/myfolder"'));
or
var('os' = OS_Process('/usr/bin/zip', array('-qr ', '/my\\ path/myfolder','/my\\ path/myfolder'));
and neither work
var('os' = OS_Process('/usr/bin/zip', array('-qr ', '/mypath/myfolder','/mypath/myfolder'));
works - no spaces in arguments text - as does running and of these commands through the terminal. How can I escape arguments that have spaces in them?
Thanks,
Anibal Escobar
646 502 8821
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso Lasso@lists.lassosoft.com
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
May 20
Steve Piercy - Website Builder Re: passing argument to os_process zip
May 20, 2015; 12:49
Steve Piercy - Website Builder
Re: passing argument to os_process zip
May 20
Anibal Escobar Re: passing argument to os_process zip
May 20, 2015; 16:01
Anibal Escobar
Re: passing argument to os_process zip
May 20
Kyle Jessup Re: passing argument to os_process zip
May 20, 2015; 16:16
Kyle Jessup
Re: passing argument to os_process zip
May 20
Anibal Escobar Re: passing argument to os_process zip
May 20, 2015; 17:10
Anibal Escobar
Re: passing argument to os_process zip