The R Project SVN R

Rev

Rev 75992 | Rev 78045 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 75992 Rev 77919
Line 1... Line 1...
1
/*
1
/*
2
 *  R : A Computer Language for Statistical Data Analysis
2
 *  R : A Computer Language for Statistical Data Analysis
3
 *  file run.c: a simple 'reading' pipe (and a command executor)
3
 *  file run.c: a simple 'reading' pipe (and a command executor)
4
 *  Copyright  (C) 1999-2001  Guido Masarotto and Brian Ripley
4
 *  Copyright  (C) 1999-2001  Guido Masarotto and Brian Ripley
5
 *             (C) 2007-2019  The R Core Team
5
 *             (C) 2007-2020  The R Core Team
6
 *
6
 *
7
 *  This program is free software; you can redistribute it and/or modify
7
 *  This program is free software; you can redistribute it and/or modify
8
 *  it under the terms of the GNU General Public License as published by
8
 *  it under the terms of the GNU General Public License as published by
9
 *  the Free Software Foundation; either version 2 of the License, or
9
 *  the Free Software Foundation; either version 2 of the License, or
10
 *  (at your option) any later version.
10
 *  (at your option) any later version.
Line 146... Line 146...
146
		      pinfo *pi)
146
		      pinfo *pi)
147
{
147
{
148
    DWORD ret;
148
    DWORD ret;
149
    STARTUPINFO si;
149
    STARTUPINFO si;
150
    STARTUPINFOW wsi;
150
    STARTUPINFOW wsi;
151
    HANDLE dupIN, dupOUT, dupERR, job, port;
151
    HANDLE dupIN, dupOUT, dupERR, job, port = NULL;
152
    WORD showWindow = SW_SHOWDEFAULT;
152
    WORD showWindow = SW_SHOWDEFAULT;
153
    DWORD flags;
153
    DWORD flags;
154
    BOOL inJob;
154
    BOOL inJob;
155
    Rboolean breakaway;
155
    Rboolean breakaway;
156
    JOBOBJECT_EXTENDED_LIMIT_INFORMATION jeli;
156
    JOBOBJECT_EXTENDED_LIMIT_INFORMATION jeli;