Re: I need a command line in Windows NT



redgambit wrote:

Its weird because I also have this in my program

String cmdLine5 = "\\\\a1\\scripts\\licensesign";
      try {
        Process process = Runtime.getRuntime().exec(cmdLine5);

      }
      catch (IOException ioe) {
        System.out.println(ioe);

and it works fine.  Also if I open the task manager and watch it the
processes CMD shows up on Processes tab but doesn't run and doesn't
show up on the Applications tab like its suppost to.


Are you handling STDIN and STDOUT for your command line program? If not it can hang.


--

Knute Johnson
email s/nospam/knute/
.



Relevant Pages

  • Re: I need a command line in Windows NT
    ... Also if I open the task manager and watch it the ... processes CMD shows up on Processes tab but doesn't run and doesn't ...
    (comp.lang.java.help)
  • Re: I need a command line in Windows NT
    ... catch (IOException ioe) { ... Also if I open the task manager and watch it the ... processes CMD shows up on Processes tab but doesn't run and doesn't ...
    (comp.lang.java.help)