[Mono-dev] Process background problem

Avery Pennarun apenwarr at gmail.com
Fri Jan 16 12:35:28 EST 2009


2009/1/16 Carlos Ruiz Diaz <carlos.ruizdiaz at gmail.com>:
> When I run the following command:
>
> mono program.exe
>
> everything behave as expected but running:
>
> mono program.exe&
>
> the program goes to background but almost immediately stops  so I use fg
> command to foreground the process and them seems to resume its execution but
> sometimes when I do this and try to finish it using ^C (or SIGTERM) it dies
> displaying a long stack trace apparently originated from a non-managed code.

Something in your program must be trying to read from stdin.  Can you
produce a minimal test case that will reproduce the problem?

Avery


More information about the Mono-devel-list mailing list