[fpc-pascal] How to exec() arguments with spaces?

Jan Je/lowicki Jasj at OZI.AR.WROC.PL
Sat Nov 27 13:10:08 CET 2004


Marco van de Voort wrote:
> The harsh answer:
> 1 using spaces in unix :-)
this is users' decision, not the programmer's. 
Besides, it is legal ;) 

> 2 using 1.0.x, while 1.9.x is so much better.
yes, 1.0.4 was much too buggy for me.
1.0.10 occured quite stable and was enough up to now.

> Seriously, it was a bug, it is fixed. To avoid similar problems, 
> 1.9.2 and later have a function sysutils.executeprocess that 
> avoids it all together by avoiding the parsing stage and passing 
> arguments separately from the executable name. 

Thanks. This should make me to migrate soon.

Regards,

                                       Jan Jelowicki
                                       jasj at ozi.ar.wroc.pl
                         
-------------------------------------------------------------------
Wroclaw University of Agriculture    Akademia Rolnicza we Wroclawiu
Department of Mathematics            Katedra Matematyki
-------------------------------------------------------------------




More information about the fpc-pascal mailing list