reinholdk wrote: 
> I don't want to hijack this thread and don't want to come over stubborn,
> but are you starting the batch file from within a console window or by
> double-clicking in file explorer?
> In the latter case you will probably not see the output of the echo
> command because the batch file exits immediately after. You'd need to
> add a pause command at the end in this case.
> 
> Edit: in your example above it's clear that the echo command is never
> executed as long as ngrok is running. But is this really true if you use
> 'start ngrok start ....'? Since this should start the ngrok command in a
> different console window.

Ah, thanks, changing my batch file to "start ngrok start...." does the
trick and starts ngrok in a new console window and then proceeds to run
the rest of the batch. That simplifies things and means I only need to
run a single batch file from start-up now, as below:

cd/
cd C:\Google Drive\LMS Stuff\ngrok
start /min ngrok start -region=eu home
timeout 5
updater.py

Thanks for your help.



location 1: lms 8.0 on win 10 brix server, x2 sb radios, x1 touch, x1
controller : location 2: lms 8.0 on win 10 brix server, x2 sb radios, x1
duet receiver, x1 controller : alexa mediaserver smart skill, material
android, squeezelitex control
------------------------------------------------------------------------
staresy's Profile: http://forums.slimdevices.com/member.php?userid=807
View this thread: http://forums.slimdevices.com/showthread.php?t=111016

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to