[Mono-osx] This call crashes mono Directory.GetDirectories("/<path>", "*");

Sandy Armstrong sanfordarmstrong at gmail.com
Thu Jan 22 15:20:35 EST 2009


Are you running from the command line?  I am surprised you see no 
exception output.  If you aren't running from the command line, did you 
look for relevant output in Console.app?

Sandy

On 01/22/2009 12:09 PM, d_v wrote:
> Mono and my .exe crash and disappear from the Mac because the path is spelled
> incorrectly.
> Yikes. I was expecting an error to be raised or something...
>
> The same behaviour occurs with Directory.GetFiles().
>
>
>
> d_v wrote:
>> Does anyone know why this crashes Mono 2.2 on Mac OS X 10.5.6? (the
>> program disappears without an error).
>>
>> string[] dir =
>> Directory.GetDirectories("/DanDotNet/Testfiles/Lab/Install101/LabMDS",
>> "*");
>>
>> thanks.
>>
>



More information about the Mono-osx mailing list