I find convenient to use TProcess, take a look at the wiki: http://wiki.freepascal.org/Executing_External_Programs#TProcess -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160702/0da05154/attachment.html>