OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [lang/] [natVMProcess.cc] - Blame information for rev 758

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 758 jeremybenn
// 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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.