Nov 12
Marc Pinnell sys_process
Nov 12, 2014; 14:29
Marc Pinnell
sys_process
Trying to figure out sys_process. The command below will return a list of domains from my CP when I type it on the command line. Trying to figure out how to get the list into Lasso for further processing. Tried just swapping out the command code in the docs, but get a -1 error. Then I tried to run the code directly from the docs and getting no return at all. Thoughts?
This returns a -1 error:
local(proc) = sys_process('~iworx/bin/listaccounts.pex --domain')
fail_if(#proc->exitCode != 0, 'Unknown error' + #proc->exitCode)
#proc->readString->encodeHtml(true, false)
#proc->close
This returns nothing at all:
local(proc) = sys_process('/bin/ls', (: '/' + sys_homePath))
fail_if(#proc->exitCode != 0, 'Unknown error')
#proc->readString->encodeHtml(true, false)
#proc->close
Marc
Marc Pinnell
1027 Design
PO Box 990872
Redding, CA 96099-0872
530.941.4706
fax: 866.232.5300
www.1027Design.com
#############################################################
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>
Nov 12
Steve Piercy - Website Builder Re: sys_process
Nov 12, 2014; 17:47
Steve Piercy - Website Builder
Re: sys_process
Nov 13
Jolle Carlestam Re: sys_process
Nov 13, 2014; 06:07
Jolle Carlestam
Re: sys_process
Nov 13
Jolle Carlestam Re: sys_process
Nov 13, 2014; 06:49
Jolle Carlestam
Re: sys_process
Nov 12
Marc Pinnell Re: sys_process
Nov 12, 2014; 23:32
Marc Pinnell
Re: sys_process
Nov 13
Jolle Carlestam Re: sys_process
Nov 13, 2014; 08:41
Jolle Carlestam
Re: sys_process
Nov 13
Steffan A. Cline Re: sys_process
Nov 13, 2014; 06:28
Steffan A. Cline
Re: sys_process
Nov 13
Brad Lindsay Re: sys_process
Nov 13, 2014; 08:39
Brad Lindsay
Re: sys_process
Nov 13
Jolle Carlestam Re: sys_process
Nov 13, 2014; 14:45
Jolle Carlestam
Re: sys_process
Nov 13
Marc Pinnell Re: sys_process
Nov 13, 2014; 08:34
Marc Pinnell
Re: sys_process
Nov 13
Steffan A. Cline Re: sys_process
Nov 13, 2014; 09:47
Steffan A. Cline
Re: sys_process
Nov 13
Jolle Carlestam Re: sys_process
Nov 13, 2014; 18:09
Jolle Carlestam
Re: sys_process
Nov 13
Jolle Carlestam Re: sys_process
Nov 13, 2014; 18:13
Jolle Carlestam
Re: sys_process
Nov 13
Marc Pinnell Re: sys_process
Nov 13, 2014; 09:15
Marc Pinnell
Re: sys_process
Nov 13
Steve Piercy - Website Builder Re: sys_process
Nov 13, 2014; 09:42
Steve Piercy - Website Builder
Re: sys_process
Nov 13
Marc Pinnell Re: sys_process
Nov 13, 2014; 10:50
Marc Pinnell
Re: sys_process
Nov 13
Steffan A. Cline Re: sys_process
Nov 13, 2014; 17:51
Steffan A. Cline
Re: sys_process
Nov 13
Marc Pinnell Re: sys_process
Nov 13, 2014; 16:59
Marc Pinnell
Re: sys_process
Nov 13
Steffan A. Cline Re: sys_process
Nov 13, 2014; 18:42
Steffan A. Cline
Re: sys_process
Nov 14
Marc Pinnell Re: sys_process
Nov 14, 2014; 12:08
Marc Pinnell
Re: sys_process
Nov 14
Steve Piercy - Website Builder Re: sys_process
Nov 14, 2014; 12:20
Steve Piercy - Website Builder
Re: sys_process
Nov 14
Marc Pinnell Re: sys_process
Nov 14, 2014; 13:42
Marc Pinnell
Re: sys_process
Nov 14
Steve Piercy - Website Builder Re: sys_process
Nov 14, 2014; 13:50
Steve Piercy - Website Builder
Re: sys_process
Nov 14
Marc Pinnell Re: sys_process
Nov 14, 2014; 14:13
Marc Pinnell
Re: sys_process
Nov 14
Steve Piercy - Website Builder Re: sys_process
Nov 14, 2014; 14:25
Steve Piercy - Website Builder
Re: sys_process
Nov 14
Jolle Carlestam Re: sys_process
Nov 14, 2014; 23:27
Jolle Carlestam
Re: sys_process
Nov 14
Marc Pinnell Re: sys_process
Nov 14, 2014; 15:05
Marc Pinnell
Re: sys_process
Nov 14
Marc Pinnell Re: sys_process
Nov 14, 2014; 15:06
Marc Pinnell
Re: sys_process
Nov 14
Steve Piercy - Website Builder Re: sys_process
Nov 14, 2014; 15:17
Steve Piercy - Website Builder
Re: sys_process
Nov 15
Jolle Carlestam Re: sys_process
Nov 15, 2014; 09:07
Jolle Carlestam
Re: sys_process
Nov 15
Jolle Carlestam Re: sys_process
Nov 15, 2014; 09:19
Jolle Carlestam
Re: sys_process
Nov 15
Jolle Carlestam Re: sys_process
Nov 15, 2014; 09:34
Jolle Carlestam
Re: sys_process