8

Executing bash script with tilde in path

view full story
linux-howto

http://stackoverflow.com – I am trying to execute in linux: command[0] = "~/test/bin/runScript_sh"; Runtime.getRuntime().exec(command); But get an exception java.io.IOException: Cannot run program error=2, No such file or directory Probably because it can not evaluate tilde. What can be done? (HowTos)