#!/bin/ksh
##########################################################################
$JAVA_HOME/bin/java -jar SocketListener.jar 8182
run_something_else
exit 0
SocketListener is started, and shell is waiting while SocketListener don’t die.
How can I run run_something_else and SocketListener at the same time
add an ampersand(
&) at the end.this will give control of the terminal to the next line and makes yourSocketListenerrun in the background.