This is a simple wrapper for the [os_process] type that allows you to interact with a bash shell, similar to how you would if you were using Terminal on OS X. On Windows, it interacts with the cmd process. The tag creates a new [os_process] type, opens a new shell, and executes whatever command is passed to it.
Click the "Download" button below to retrieve a copy of this tag,
including the complete documentation and sample usage shown
on this page. Place the downloaded ".inc" file in your
LassoStartup folder, restart Lasso, and you can begin using this
tag immediately.
07/19/2011, Jolle Carlestam Bug in Centos section
There's an omission that cause the method to fail on Centos.
Change this:
local(shell = os_process('/bin/sh', (:'cd '+#this+'; '+#cmd)))
to
local(shell = os_process('/bin/sh', (:'-c','cd '+#this+'; '+#cmd)))
(As of 2011-07-19)
Bug in Centos section
There's an omission that cause the method to fail on Centos. Change this: local(shell = os_process('/bin/sh', (:'cd '+#this+'; '+#cmd))) to local(shell = os_process('/bin/sh', (:'-c','cd '+#this+'; '+#cmd))) (As of 2011-07-19)