Sys_process broken in beta?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Sys_process broken in beta?

Jolle Carlestam-2
Did I see correctly that sys_process is broken in the latest beta?
I for sure can't get it to work
Not even when using code directly from the Lasso guide page
This
local(proc) = sys_process('/bin/ls', (: '/' +
 sys_homePath))
fail_if(
   #proc->exitCode != 0, 'Unknown error'
)

#proc->readString->encodeHtml(true, false
)

#proc->close

Gives this strange error:
-1
Connection closed by peer
Error stack:
176:20 ../file.lasso
468:14 traits.lasso
54:61 ../sys_process.lasso

The row that fails is
#proc->readString

HDB
Jolle

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>