Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-09

Are there some reasons why TProcess commands do not terminate quickly?

2 messages · 1 person · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Frank Church

When I run some Windows commands on the Command Prompt they take a short time, but when I run them with TProcess they take much longer and sometimes they don't there some extra parameters to be passed to TProcess to avoid these problems?

Could have something to do with whether the Windows programs are sending output to stderr or stdout or something similar?

Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110919/91def6b7/attachment-0001.html>

Reply by email

Frank Church
to Frank Church
Frank Church wrote 13 lines
When I run some Windows commands on the Command Prompt they take a short time, but when I run them with TProcess they take much longer and sometimes they don't terminate at all. Are there some extra parameters to be passed to TProcess to avoid these problems? Could have something to do with whether the Windows programs are sending output to stderr or stdout or something similar? --

Fixed by some RTFMing

Show quoted text 5 lines
Frank Church ======================= http://devblog.brahmancreations.com
Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110920/2921bb25/attachment-0001.html>

Reply by email