MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
createProcess__rti__.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2005 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: createProcess__rti__.h,v $ $Revision: 1.9 $ $State: Exp $
7 *********************************************************************/
8 #ifndef createprocess__rti___H_
9 #define createprocess__rti___H_
10 
11 #include "rtiMsConfig.h"
12 #ifdef _WIN32
13 #ifndef WIN32_LEAN_AND_MEAN
14 #define WIN32_LEAN_AND_MEAN
15 #endif
16 #include <windows.h>
17 #else
18 #endif
19 #include <vlutil/vlFilename.h>
20 #include <vector>
21 
25 //
28 
30 {
42 
49 void DT_DLL_RTIUTIL addArgument(std::vector<MAKRti::DtString>& argumentList, const MAKRti::DtString option,
50  const MAKRti::DtString value = MAKRti::DtString::nullString(), bool addQuotes = false);
51 
54  const MAKRti::DtFilename& executableName,
55  const MAKRti::DtFilename& workingDirectory,
56  const std::vector<MAKRti::DtString>&args,
57 #ifdef _WIN32
58  HANDLE childWritePipe,
59  HANDLE childReadPipe ,
60 #else
61  int childWritePipe,
62  int childReadPipe,
63 #endif
65  int shouldInheritHandles = 1
66  );
67 #endif
68 
use existing terminal/console for input/output
Definition: createProcess__rti__.h:36
bool DT_DLL_RTIUTIL DtCreateProcess__rti__(const MAKRti::DtFilename &executableName, const MAKRti::DtFilename &workingDirectory, const std::vector< MAKRti::DtString > &args, int childWritePipe, int childReadPipe, DtProcessInteractivityMode__rti__ interactive=DtProcFgInteractive__rti__, int shouldInheritHandles=1)
Create a process with the given executable name and arguments to run in the given working directory...
Hidden terminal/console, no keyboard input.
Definition: createProcess__rti__.h:34
enum DtProcessInteractivity_enum__rti__ DtProcessInteractivityMode__rti__
This function may be moved into VR-Link in the future.
DtProcessInteractivity_enum__rti__
This function may be moved into VR-Link in the future.
Definition: createProcess__rti__.h:29
No terminal/console, no keyboard input.
Definition: createProcess__rti__.h:32
#define DT_DLL_RTIUTIL
Definition: rtiMsConfig.h:127
On Windows uses new fully interactive console On Unix launched as background process as part of paren...
Definition: createProcess__rti__.h:40
void DT_DLL_RTIUTIL addArgument(std::vector< MAKRti::DtString > &argumentList, const MAKRti::DtString option, const MAKRti::DtString value=MAKRti::DtString::nullString(), bool addQuotes=false)
Add a command line argument with optional stringified value and with optional surrounding quotes to t...

Document ID: Generated on Mon Sep 7 15:40:32 EDT 2020 from SVN revision 217499
Copyright © 2005-2020 MAK Technologies Inc. All Rights Reserved (www.mak.com)