Hi,

I want to execute some shall scripts from within java code.Can i directly execute the script by using Process proc = Runtime.getRuntime().exec("myScript.sh"); thanks in advance,

debojit

Have you tried it?

commented: Probably the answer to many questions on these forums. +3
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.