In many languages (like PHP/Perl) you can execute shell commands, what package or method do you use in Java2 to execute a shell command?

Thanks,
Jon

Runtime.exec( ) ;

Search on JavaWorld.com for a good article about the traps and pitfalls of Runtime.exec

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.