title: EXE file content to receive a variable value from a java code
body: <p>How should be the exe file variable declaration, if i pass any variable from a java program.</p>
  
  <p>Ex-></p>
  
  <p>String[] var = {"var1","var2"};</p>
  
  <p>Process p = Runtime.getRuntime().exec("open  /Users/*****/Documents/batch/dateCommand",var);</p>
  
  <p>Any help would be appreciated</p>