* one more fix for ExecuteProcess

This commit is contained in:
Tomas Hajny 2004-12-06 22:11:47 +00:00
parent 46aad77754
commit 2b40d78b32

View File

@ -942,7 +942,8 @@ begin
FillChar (SD, SizeOf (SD), 0); FillChar (SD, SizeOf (SD), 0);
SD.Length := 24; SD.Length := 24;
SD.Related := ssf_Related_Child; SD.Related := ssf_Related_Child;
SD.PgmName := PChar (Path); CommandLine := FExpand (Path); (* Needed for other session types... *)
SD.PgmName := PChar (CommandLine);
if ComLine <> '' then if ComLine <> '' then
SD.PgmInputs := PChar (ComLine); SD.PgmInputs := PChar (ComLine);
SD.InheritOpt := ssf_InhertOpt_Parent; SD.InheritOpt := ssf_InhertOpt_Parent;
@ -1017,7 +1018,10 @@ end.
{ {
$Log$ $Log$
Revision 1.45 2004-12-06 18:50:21 hajny Revision 1.46 2004-12-06 22:11:47 hajny
* one more fix for ExecuteProcess
Revision 1.45 2004/12/06 18:50:21 hajny
* fix for ExecuteProcess * fix for ExecuteProcess
Revision 1.44 2004/12/05 19:33:08 hajny Revision 1.44 2004/12/05 19:33:08 hajny