3 Replies Latest reply on Jan 29, 2013 12:26 PM by EJP

    Does Processbuilder display the arguments passed in process explorer

      I am using the below code

      ProcessBuilder probuilder = new ProcessBuilder("sqlplus","system/password", filen, syspass, mApplicationAbbreviation, password);
      Process process = probuilder.start();

      I am passing aruguments to sqlplus where passwords are not to be displayed.

      Question: When I do a ps -ef will the arguments be displayed. How is the parent process send arguments to child ( sqlplus here) when ProcessBuilder is being used?

      I see that they are displayed when I use Runtime.getRuntime().exec( command) where command has the string as above.