Thanks Francois - but this is not the issue as the shell function works in that the server is launched via:
*put shell ("hugo server")* The issue is that as the shell command runs until you forcibly exit - the Livecode handler freezes and no other scripts or user actions can run - so I want to run the server in the background. See thee links for tutorials that I've looked into for how to run bash scrips in the background: - https://www.one-tab.com/page/Ti44-ap4R--XpgYnFYBoqA On Wed, 31 Jul 2019 at 21:16, mines-imap via use-livecode < use-livecode@lists.runrev.com> wrote: > If i remember correctly, shell() launches a new shell environment. It is > possible that your executable is not in the current PATH. I have had this > problem to execute pdftex from livecode. > Best regards > François > > > Le 31 juil. 2019 à 17:24, David Bovill via use-livecode < > use-livecode@lists.runrev.com> a écrit : > > > > 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@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode