Actually, Environment.CurrentDirectory does return current directory, not the directory of the running assembly:
C:\Ip>ip IronPython 0.9.5 on .NET 2.0.50727.42 Copyright (c) Microsoft Corporation. All rights reserved. >>> import System >>> System.Environment.CurrentDirectory 'C:\\Ip' >>> System.Environment.CommandLine 'C:\\Ip\\IronPython\\Src\\Bin\\IronPythonConsole.exe' Martin > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Stanislas Pinte > Sent: Friday, December 02, 2005 6:18 AM > To: Discussion of IronPython > Subject: [IronPython] Solved: Re: PythonEngine bug > > Hello, > > my apologies for the false warning: > > actually, > > engine.AddToPath(Environment.CurrentDirectory); > > will add the directory of the assembly we are running, not > the current directory. > > I don't know if it is the expected behavior or not. > > Thanks, > > Stan. _______________________________________________ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com