Changeset 8 for trunk/Forms/UFormConsole.pas
- Timestamp:
- May 18, 2015, 12:15:30 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormConsole.pas
r6 r8 92 92 Line: string; 93 93 CommandLine: string; 94 I: Integer; 94 95 begin 95 96 Text := ''; … … 104 105 Process.Environment.Text := Environment; 105 106 Environment := ''; 106 //Process.Executable := Executable; 107 //Process.Parameters.Assign(Parameters); 108 Process.CommandLine := Executable + ' ' + Parameters.Text; 107 Process.Executable := Executable; 108 Process.Parameters.Assign(Parameters); 109 //for I := 0 to Process.Parameters.Count - 1 do 110 // ShowMessage('"' + Process.Parameters[I] + '"'); 111 //Process.CommandLine := Executable + ' checkout http://svn.zdechov.net/svn/xtactics /home/chronos/Smazat/svn3'; 112 //Process.Parameters.Clear; 113 //Process.Parameters.Add('checkout'); 114 //Process.Parameters.Add('http://svn.zdechov.net/svn/xtactics'); 115 //Process.Parameters.Add('/home/chronos/Smazat/svn3'); 116 //Process.Parameters.Add('checkout'); 117 //Process.Parameters.Add('dasd');; 118 //Process.CommandLine := Executable + ' ' + Parameters.Text; 109 119 CommandLine := Executable + ' ' + StringReplace(Parameters.Text, LineEnding, ' ', [rfReplaceAll]); 110 120 if CommandLine[Length(CommandLine)] = LineEnding then
Note:
See TracChangeset
for help on using the changeset viewer.