bigloo.foreign.system C# (CSharp) Method

system() public static method

public static system ( byte cmd ) : int
cmd byte
return int
        public static int system( byte[]  cmd )
        {
            process      p= new process( null,
                     false,
                     true,
                     null,
                     bigloo.foreign.BUNSPEC,
                     bigloo.foreign.BUNSPEC,
                     cmd,
                     null,
                     null );

            return ((p.xstatus() is bint)
            ? ((bint)p.xstatus()).value
            : -1);
        }
foreign