no it still keeps it in the current session.
Just to give little bit more insite the .bat file contains
java -jar C:\selenium-remote-control
Main Topics
Browse All TopicsI have a .bat file which starts selenium server and i want to start it in a background thread so that when i disconnect my current sessions it remains open and also for it not to halt execution.
I'm ssh'ing into the windows box from my linux box with cygwin.
I'm using the command:
ssh 10.53.30.188 "/cygdrive/h/startSelenium
to try to start it
I also tried
ssh 10.53.30.188 "/cygdrive/h/startSelenium
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
no it still keeps it in the current session.
Just to give little bit more insite the .bat file contains
java -jar C:\selenium-remote-control
I would use screen. Screen lets you start a new terminal session within your session and run applications while giving you the ability to 'detach' from your session. The terminal session can then be 'reattached' to at a later stage. So you would do something like this once off:
$ screen -S Selenium
[starting new screen session]
$ /cygdrive/h/startSeleniumP
press <ctrl>,a,d to detach. To reattach you would do
$ screen -r Selenium
After detaching you'd be brought back to your original $ prompt and your process/batch file will continue to run in the background forever.. atleast until someone manually closes/kills it or the box is restarted. If you require root to run the batch file, I would advice su'ing up BEFORE running screen, and not having a su'ed session inside a normal user's screen session.
Business Accounts
Answer for Membership
by: woolmilkporcPosted on 2009-11-04 at 14:13:29ID: 25744586
Please try
rofile.bat &"
ssh -f 10.53.30.188 " nohup /cygdrive/h/startSeleniumP