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
18 #include <java/lang/VMProcess.h>
19 #include <java/lang/Process.h>
20 #include <java/io/File.h>
22 // It is convenient and safe to simply include all of these.
23 #include <java/lang/Win32Process.h>
24 #include <java/lang/EcosProcess.h>
25 #include <java/lang/PosixProcess.h>
27 ::java::lang::Process *
28 java::lang::VMProcess::nativeExec (jstringArray cmd,
30 ::java::io::File *dir,
33 return new _Jv_platform_process (cmd, env, dir, redirect);