Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Run Unix Script

 
Tom Ben
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using this Process psef = Runtime.getRuntime().exec(run[x].toString());
to try and run a unix script thru Java. I need to know how to get the scripts to run? Works great on Windows but nothing on HP-UX 11
------------------
Sun Certified Programmer on the Java 2 Platform
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic