reinholdk wrote: 
> 'call' starts the program or batchfile in a new console session but not
> in parallel.
> 
> 
> 
> I don't know what might be special with ngrok, but I just tried using
> start with an other command line program and it works as expected:
> The autorunsc.exe executes in it's own console window and runs for
> ~20sec, while in the first console window I can immediately see the
> countdown of the timeout command.
> > 
Code:
--------------------
  >   > 
  > cd /d "C:\Progs\Sysinternals.com"
  > start autorunsc -a *
  > timeout 5
  > echo hello
  > pause
  > 
--------------------
> > 

Running ngrok from a command prompt establishes a tunnel and then just
hangs (ie. it doesn't run any subsequent code in the batch file), hence
the need to get two parallel processes running, as you say "call"
doesn't achieve this either. 

So, for example:

ngrok start -region=eu home
echo hello

....never runs the echo hello line



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