Recent

Author Topic: Application freezes while running T(Async)Process  (Read 3850 times)

bastla

  • New Member
  • *
  • Posts: 23
Application freezes while running T(Async)Process
« on: March 17, 2013, 09:39:01 pm »
Hello everybody,

I've a problem: My application should be somewhat like the DOS-Console. A custom process can be executed, the output is captured to a TMemo and you can send some input to the program.

That works all fine, but my application freezes while the TAsyncProcess is running. I also tried to use TProcess instead of TAsyncProcess, but the same problem occurs.

I have to kill the process via the TaskManager (I'm on Windows) to make my application stop freezing...

Do you have any ideas why this problem occurs or how to avoid it?


Thanks in advance for helpful replies,
bastla

vfclists

  • Hero Member
  • *****
  • Posts: 1165
    • HowTos Considered Harmful?
Re: Application freezes while running T(Async)Process
« Reply #1 on: March 30, 2013, 06:39:33 pm »
Without posting your code how can you be helped?

Hello everybody,

I've a problem: My application should be somewhat like the DOS-Console. A custom process can be executed, the output is captured to a TMemo and you can send some input to the program.

That works all fine, but my application freezes while the TAsyncProcess is running. I also tried to use TProcess instead of TAsyncProcess, but the same problem occurs.

I have to kill the process via the TaskManager (I'm on Windows) to make my application stop freezing...

Do you have any ideas why this problem occurs or how to avoid it?


Thanks in advance for helpful replies,
bastla
Lazarus 3.0/FPC 3.2.2

 

TinyPortal © 2005-2018