@@ -0,0 +1,544 @@
+package runtimeExecAvecParam;%0A%0Aimport java.io.BufferedReader;%0Aimport java.io.IOException;%0Aimport java.io.InputStreamReader;%0A%0Apublic class Main %7B%0A%0A%09public static void main(String%5B%5D args) throws IOException %7B%0A%09%09String%5B%5D cmdarray = %7B%22/home/jordane/Bureau/afficherNbArgs.sh%22, %22a%22, %22z%22, %22a z e r t y%22%7D;%0A%09%09Process process = Runtime.getRuntime().exec(cmdarray);%0A%09%09%0A%09%09BufferedReader br = new BufferedReader(new InputStreamReader(process.getInputStream()));%0A%09%09String line;%0A%09%09while((line = br.readLine()) != null)%7B%0A%09%09%09System.out.println(line);%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A

Create Main.java