I'm running a shell script using:
Runtime.getRuntime().exec(command);
Everything works fine, exept for the output. So, this script
echo "opening gedit..."
gedit
Opens gedit, but when running from Java I don't get any output. What is the problem?