@iatendril the script is exiting for no reason and also its running through a suprocess spawned by other code that doesn't capture its standard out, hence the logfile