Search:

Type: Posts; User: Bryan

Search: Search took 0.08 seconds.

  1. Replies
    8
    Views
    1,423

    Re: passing input to a process

    I know about static, that was also my first though(but forgot to check the doc:P) but then again, why initialize the var? if its static it doesn't need that right?

    Something along the next code...
  2. Replies
    8
    Views
    1,423

    Re: passing input to a process

    Could someone explain to me why this is working:

    Runtime runtime = null;
    try {
    coffee = runtime.getRuntime().exec(cmd, null, dirFile);
    }
    catch (IOException e) {...
Results 1 to 2 of 2