[fpc-devel] TProcess and arguments with quotes

Martin lazarus at mfriebe.de
Wed Sep 5 11:38:36 CEST 2012


On 05/09/2012 09:55, michael.vancanneyt at wisa.be wrote:

> On non-windows, each element in the params list is passed as-is in the 
> argv
> array; No changes are performed at all.

FPC itself supplies a function

function RunCommand(const cmdline:string;var 
outputstring:string):boolean; deprecated;

it uses TProcess.CommandLine

using this function, how do I run the following: (example in shell style)

gdb -i mi -eval-command="set disassembly-flavor intel"




More information about the fpc-devel mailing list