[fpc-pascal] TProcess questions

Marco van de Voort marcov at stack.nl
Tue Oct 3 11:34:56 CEST 2006

> On Tue, 3 Oct 2006, Adrian Maier wrote:

> > 
> > It's a painful one.  I was hoping to switch to TProcess instead of shell (
> > which isn't  cross-platform )  ...
> The bug won't occur on windows :)
> I will see about fixing it. Could you please post a bug report so it won't
> be forgotten.

Wouldn't it be better to also have a way to set the parameters using an
indexed property one by one instead of a cmdline?

Because this kind of interpretation issues will continue forever, since shell
handling is not portable. This was
pretty much the reason for the change to array of string in ExecuteProcess
and friends.

In such case, there is always a "safe" fall back.

More information about the fpc-pascal mailing list