|
See notes below about GetConsoleOutput Thanks to Angus Roberston for posting procedure GetConsoleOutput on https://en.delphipraxis.net/topic/2372-running-commandline-app-and-capturing-output/ February 10, 2020 uses needed: System.SysUtils, System.Classes, Windows; Modifications: 1.1 8/28/2024 Clay B. Carley III - Added new parameter, parms, for command line parameters. Added a needed space before parms string in the CreatProcess call. Also added PWideChar conversions for CreateProcess parameters, command line, parms, and WorkDir. 1.11 9/1/2024 Clay B. Carley III - Changed how WorkDir is determined. Now uses the current directory rather than the executable's directory. Change needed to work with the TAndroidDebugBridge's pull command. Parameters: CommandLine - full path including exe name parms - parameters used by exe Output - list of strings sent by exe to output |