Launching a cli server as background process in OSX

Dar Scott Consulting dsc at swcp.com
Wed Jul 31 21:01:09 EDT 2019


Random thoughts, all untested, most goofy, some incoherent:
telnet or ssh
shell() open a customized terminal app window group that has a script
do ???? as applescript
enhance/repair open process
launch service at startup, but tweak parameters elsehow
Use a tool to turn a shell script into an app  and use open process
use a command-line tool to launch the service as a demon





> On Jul 31, 2019, at 9:24 AM, David Bovill via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> I have a server that I would like launch from Livecode. I've tried shell(),
> launch, open process, and then creatign bash scripts ending with "&" or
> using screen... no joy so far...
> 
> In the terminal I run:
> 
> hugo server
> 
> and a little go server runs and does it's magic. But try as I can nothing I
> do let's me launch the server from Livecode - without the script waiting
> for the never ending process to end and interface freezing.
> 
> Was about to launch into the world of tmux, or trying Applescript :( Any
> ideas?
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list