What is returned after child.waitFor() execution?
        String command = "javac -cp .:../sqljdbc.jar SetHash.java";
       Process child = Runtime.getRuntime().exec(command);
      try{
      c= child.waitFor();
      } catch (Exception ex){ex.printStackTrace();}


Hi...
I would like to know which value will be assigned to "c" variable in the above structure if the command runs successfully. Also I would like to know if there will be any change in the value that will be assigned to "c" if the command does end up with an error.
What is returned after child.waitFor() execution?
===

        String command = "javac -cp .:../sqljdbc.jar SetHash.java";
       Process child = Runtime.getRuntime().exec(command);
      try{
      c= child.waitFor();
      } catch (Exception ex){ex.printStackTrace();}


Hi...
I would like to know which value will be assigned to "c" variable in the above structure if the command runs successfully. Also I would like to know if there will be any change in the value that will be assigned to "c" if the command does end up with an error.