If you want to background this task on Linux you can end the command with an ampersandjava -jar agent.jar -jnlpUrl http://build.myrobotlab.org:8080/computer/grog.worke.x86.64.linux/slave-agent.jnlp -workDir "/opt/jenkins-slave"&
on windows you can start the command with the "start"