On Thu, 2 Feb 2012, William Oliveira Ferreira wrote:
i was reading this article: http://wiki.lazarus.freepascal.org/Executing_External_Programs and now i have 2 questions: * is sysutils.executeProcess full cross-platform?
Yes.
* why not not suggest sysutils.executeProcess to replace WinExec/ShellExecute as it needs less lines to use like WinExec/ShellExecute?
Because ShellExecute accepts documents and files and will open the correct program to process these files. ExecuteProcess only starts a program. It can probably replace WinExec. Michael. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
