lib/exec: rationalize constructors
[nit.git] / tests / example_exec_ls.nit
index 3cc480b..43b8e40 100644 (file)
@@ -16,6 +16,6 @@
 
 import standard
 
-var p = new Process.init_("ls")
+var p = new Process("ls", "-l")
 p.wait
 print(p.status)