Terminating after reverse connection

Hi,

I’m using a simple bash script to launch Vineserver and initiate a reverse connection, but after it’s finished Vineserver keeps running in the background. Is there a way to terminate it after the reverse connection has finished?

The script I’m using is as follows :


let "port=$@+5500"
'/Applications/Vine Server.app/Contents/MacOS/OSXvnc-server' -connectHost london.runpcrun.net -connectPort $port -rfbwait 5000 

Any ideas?

I have same problem.

There currently isn’t any feature to allow quitting after the reverse connect ends. It’s a good idea though and so we’ll keep this in mind as a feature request.

Ok, thanks for that. I’ll just make another script that kills it off then.