On 04/10/2012 10:18 PM, Luis Garrido wrote: > Maybe something like this will work, since apparently nsmd sends SIGTERM > to the applications involved in the session when the 'quit' command is > activated: > > #!/bin/bash > > linuxsampler & > LSPID=$! > sleep 4 > nc localhost 8888 < myfile.lscp > trap "kill $LSPID" SIGTERM > wait $LSPID
Thanks, but the lscp file should be loaded as argument in the proxy app in NSM. So in my previous script I have $1, which should allow me to add the lscp file as argument in the proxy app in NSM. Anyway, this doesn't kill it either. Regards, \r ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Linuxsampler-devel mailing list Linuxsampler-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel