1 // natVMProcess.cc - native code for ProcessBuilder
3 /* Copyright (C) 2007 Free Software Foundation
5 This file is part of libgcj.
7 This software is copyrighted work licensed under the terms of the
8 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
17 #include <java/lang/VMProcess.h>
18 #include <java/lang/Process.h>
19 #include <java/io/File.h>
21 // It is convenient and safe to simply include all of these.
22 #include <java/lang/Win32Process.h>
23 #include <java/lang/EcosProcess.h>
24 #include <java/lang/PosixProcess.h>
26 ::java::lang::Process *
27 java::lang::VMProcess::nativeExec (jstringArray cmd,
29 ::java::io::File *dir,
32 return new _Jv_platform_process (cmd, env, dir, redirect);