On Thu, 3 May 2007, Sven Schreiber wrote:
Allin Cottrell schrieb:
> On Thu, 3 May 2007, Sven Schreiber wrote:
>
>
>> For example, this does not work (I never thought it would):
>>
>> ? ! python -c "f=open('(a)userdir\test.txt', 'w');
f.close()"
>
> This must be one of those wretched backslash things; it works fine
> on Linux
>
whoops, my mistake, with a forward slash it works fine here, too!
So I am amazed...
Ah, that's good.
I just tested the new -g or --debug flag on XP and that seems to
work nicely. You get a console with 500 lines of scrollback.
In running on XP, I noticed that the CWD was
c:\Program Files\gretl
("set" in the gretl console shows you the value of shelldir).
I think this sort of confirms my notion that banking on a
user-writable initial CWD may not be a good idea.
Allin.