Os_process on Lasso 9

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Os_process on Lasso 9

Anibal Escobar
Hi, I'm on lasso Linux 9.3.1.  I'm trying to use os_process for the
first time on L9.  I've used it extensively on L8.  The following code
works:

local(myProcess = OS_Process('/bin/ls', Array('.')))

However,

local(myProcess = OS_Process('/bin/bash', Array('-c', 'createzip')))

doesn't.  createzip is a bash script with _lasso as the owner with rwx
owner permissions.  All it contains is:

#!/bin/bash
echo "hello"

since I'm just testing right now.  createzip is in the directory, as
shown in the ls command above.  The page just hangs, no lasso error.  It
just eventually times out.  Any suggestions?  Thanks in advance!

--
Anibal Escobar
styleexpo
601 W. 26th St., Ste. M254
New York, NY  10001
O: 646-502-8821
C: 646-468-8164


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

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]>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Os_process on Lasso 9

Marc Vos-3
Try  /full/path/to/createzip

simply 'createzip' doesn't work.

- -
Marc
 

> On 9 apr. 2017, at 00:26, Anibal Escobar <[hidden email]> wrote:
>
> Hi, I'm on lasso Linux 9.3.1.  I'm trying to use os_process for the first time on L9.  I've used it extensively on L8.  The following code works:
>
> local(myProcess = OS_Process('/bin/ls', Array('.')))
>
> However,
>
> local(myProcess = OS_Process('/bin/bash', Array('-c', 'createzip')))
>
> doesn't.  createzip is a bash script with _lasso as the owner with rwx owner permissions.  All it contains is:
>
> #!/bin/bash
> echo "hello"
>
> since I'm just testing right now.  createzip is in the directory, as shown in the ls command above.  The page just hangs, no lasso error.  It just eventually times out.  Any suggestions?  Thanks in advance!
>
> --
> Anibal Escobar
> styleexpo
> 601 W. 26th St., Ste. M254
> New York, NY  10001
> O: 646-502-8821
> C: 646-468-8164
>
>
> #############################################################
>
> 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]>


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

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]>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Os_process on Lasso 9

Jolle Carlestam-2
In reply to this post by Anibal Escobar
If on Lasso 9 I strongly suggest you use sys_process instead of os_process.
http://lassoguide.com/operations/sys-process.html

HDB
Jolle

> 9 apr. 2017 kl. 00:26 skrev Anibal Escobar <[hidden email]>:
>
> Hi, I'm on lasso Linux 9.3.1.  I'm trying to use os_process for the first time on L9.  I've used it extensively on L8.  The following code works:
>
> local(myProcess = OS_Process('/bin/ls', Array('.')))
>
> However,
>
> local(myProcess = OS_Process('/bin/bash', Array('-c', 'createzip')))
>
> doesn't.  createzip is a bash script with _lasso as the owner with rwx owner permissions.  All it contains is:
>
> #!/bin/bash
> echo "hello"
>
> since I'm just testing right now.  createzip is in the directory, as shown in the ls command above.  The page just hangs, no lasso error.  It just eventually times out.  Any suggestions?  Thanks in advance!
>
> --
> Anibal Escobar
> styleexpo
> 601 W. 26th St., Ste. M254
> New York, NY  10001
> O: 646-502-8821
> C: 646-468-8164
>
>
> #############################################################
>
> 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]>


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

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]>
Loading...