[Mono-dev] Problem trying to start up a WinForms app withProcess

pablosantosluac pablosantosluac at terra.es
Fri Feb 2 01:38:53 EST 2007

Hi Miguel,

I'm actually doing the second option, but for some reason it doesn't work. 
It must be something I'm doing wrong, but I don't find out what.

If I replace my app by, let's say, xcalc, it works, but as soon I put my 
winforms app, nothing happens. Environment variables are copied
to the new process, aren't they? Anyway, I've configured both PATH and 
LD_LIBRARY_PATH at .bashrc.


----- Original Message ----- 
From: "Miguel de Icaza" <miguel at novell.com>
To: "pablosantosluac" <pablosantosluac at terra.es>
Cc: <mono-devel-list at lists.ximian.com>
Sent: Thursday, February 01, 2007 9:19 PM
Subject: Re: [Mono-dev] Problem trying to start up a WinForms app 

> Hey,
>> I'm trying to start a WinForms app (external one) on Mono/SUSE using 
>> Process
>> object. It always fails. It can't start the process. Could it be failing 
>> due
>> to environment variables not correctly passed?
> Are you trying to call an app just with the extension?
> demo.exe
> If so, you need to call it like this:
> mono demo.exe
> Or even better, provide a script around it (like most Mono apps do), so
> you can call:
> demo
> Miguel 

More information about the Mono-devel-list mailing list