Merge: Nitgs optims
[nit.git] / lib / standard / exec.nit
index 90f47eb..166cef4 100644 (file)
@@ -13,7 +13,7 @@
 
 # Invocation and management of operating system sub-processes.
 # Standard input and output can be handled through streams.
-package exec
+module exec
 
 import stream
 
@@ -59,7 +59,7 @@ class Process
        # Internal code to handle execution
        protected init execute(command: String, arguments: nullable Array[String], pipeflags: Int)
        do
-               var args = new Buffer
+               var args = new FlatBuffer
                var l = 1 # Number of elements in args
                args.append(command)
                if arguments != null then