Fix typo in the last changelog entry.
[official-gcc.git] / libjava / java / lang / natVMProcess.cc
blobdfc6f60232c5b8d9daa5479f1c2d1778057d186d
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
9 details. */
11 #include <config.h>
13 #include <platform.h>
15 #include <jvm.h>
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,
28 jstringArray env,
29 ::java::io::File *dir,
30 jboolean redirect)
32 return new _Jv_platform_process (cmd, env, dir, redirect);