Re: [fpc-pascal] Re: Getting an output string from a TProcess

2012-06-02 Thread Michael Van Canneyt
On Sat, 2 Jun 2012, leledumbo wrote: In 2.7.1 (trunk) I mean... which unit? process. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Re: Getting an output string from a TProcess

2012-06-02 Thread leledumbo
> In 2.7.1 (trunk) I mean... which unit? -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Getting-an-output-string-from-a-TProcess-tp5709934p5709943.html Sent from the Free Pascal - General mailing list archive at Nabble.com. _

Re: [fpc-pascal] Re: Getting an output string from a TProcess

2012-06-02 Thread Marco van de Voort
In our previous episode, leledumbo said: > WUAOOOW!!! Where are those functions, Marco? In 2.7.1 (trunk) > Which revision implements them? r21437 > And last but not least, do those functions consider BIG output? Yes. As said in the original message, the base is the large output wiki source. P

[fpc-pascal] Re: Getting an output string from a TProcess

2012-06-02 Thread leledumbo
WUAOOOW!!! Where are those functions, Marco? Which revision implements them? And last but not least, do those functions consider BIG output? -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Getting-an-output-string-from-a-TProcess-tp5709934p5709940.html Sent from

Re: [fpc-pascal] Re: Getting an output string from a TProcess

2012-06-02 Thread Marco van de Voort
In our previous episode, leledumbo said: > > So I ask: what's the correct code to inform as argument a TProcess and > a instruction string and as a return, to get the output string? If very up to date FPC 2.7.1: var s : ansistring; if RunCommand(binaryname,['arg1','arg2'],s) then begin //

[fpc-pascal] Re: Getting an output string from a TProcess

2012-06-01 Thread leledumbo
> Commandline is signed as deprecated, so what is the best way to pass a string to TProcess? Is the commandline the first item of the tstrings called parameter? http://www.freepascal.org/docs-html/fcl/process/tprocess.commandline.html See something that explains it there? > The output is a cl