OSDN Git Service

Update Copyright years for files modified in 2010.
[pf3gnuchains/gcc-fork.git] / libjava / java / lang / natVMProcess.cc
1 // natVMProcess.cc - native code for ProcessBuilder
2
3 /* Copyright (C) 2007 Free Software Foundation
4
5    This file is part of libgcj.
6
7 This software is copyrighted work licensed under the terms of the
8 Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
9 details.  */
10
11 #include <config.h>
12
13 #include <platform.h>
14
15 #include <jvm.h>
16
17 #include <java/lang/VMProcess.h>
18 #include <java/lang/Process.h>
19 #include <java/io/File.h>
20
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>
25
26 ::java::lang::Process *
27 java::lang::VMProcess::nativeExec (jstringArray cmd,
28                                    jstringArray env,
29                                    ::java::io::File *dir,
30                                    jboolean redirect)
31 {
32   return new _Jv_platform_process (cmd, env, dir, redirect);
33 }