summaryrefslogtreecommitdiff
path: root/rtl/os2/sysutils.pp
diff options
context:
space:
mode:
authorhajny <hajny@3ad0048d-3df7-0310-abae-a5850022a9f2>2016-06-03 23:57:51 +0000
committerhajny <hajny@3ad0048d-3df7-0310-abae-a5850022a9f2>2016-06-03 23:57:51 +0000
commit1d6625d146a061f81c519d083147b9d015383710 (patch)
treeae0ba7e0c0192de0ddf69b02b16fbdcef3b196a8 /rtl/os2/sysutils.pp
parent04e8070537ee7ccae324d8aee163090c833af7a3 (diff)
downloadfpc-1d6625d146a061f81c519d083147b9d015383710.tar.gz
* fix compilation after UnicodeString ExecuteProcess related changes
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@33899 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'rtl/os2/sysutils.pp')
-rw-r--r--rtl/os2/sysutils.pp12
1 files changed, 7 insertions, 5 deletions
diff --git a/rtl/os2/sysutils.pp b/rtl/os2/sysutils.pp
index 858407499b..694d555b47 100644
--- a/rtl/os2/sysutils.pp
+++ b/rtl/os2/sysutils.pp
@@ -31,6 +31,8 @@ interface
{$define SYSUTILS_HAS_ANSISTR_FILEUTIL_IMPL}
{ OS has an ansistring/single byte environment variable API }
{$define SYSUTILS_HAS_ANSISTR_ENVVAR_IMPL}
+{ OS has an ansistring/single byte API for executing other processes }
+{$DEFINE EXECUTEPROCUNI}
{ Include platform independent interface part }
{$i sysutilh.inc}
@@ -756,11 +758,11 @@ begin
SysTimerTick := L;
end;
-function ExecuteProcess (const Path: AnsiString; const ComLine: AnsiString;Flags:TExecuteFlags=[]):
- integer;
+function ExecuteProcess (const Path: RawByteString;
+ const ComLine: RawByteString;Flags:TExecuteFlags=[]): integer;
var
E: EOSError;
- CommandLine: ansistring;
+ CommandLine: RawByteString;
Args0, Args: DosCalls.PByteArray;
ObjNameBuf: PChar;
ArgSize: word;
@@ -932,8 +934,8 @@ begin
end;
-function ExecuteProcess (const Path: AnsiString;
- const ComLine: array of AnsiString;Flags:TExecuteFlags=[]): integer;
+function ExecuteProcess (const Path: RawByteString;
+ const ComLine: array of RawByteString;Flags:TExecuteFlags=[]): integer;
var
CommandLine: AnsiString;