Unusual, pretty annoying behaviour of python bindings

From: <Danilo.Piparo_at_mib.infn.it>
Date: Wed, 28 Nov 2007 19:51:20 +0100 (CET)


Hello,
using ROOT 5.14.00g and the python bindings I have this script:

myscript.py:

import os

print 'Let\'s Rock'
from ROOT import gROOT

os.system('pwd')

if I do:
mkdir mydir
python myscript.py mydir

the output tells me that I am in directory mydir!! How can the interaction with any of the ROOT module's attributes or classes change the directory?

Cheers,

       Danilo Received on Wed Nov 28 2007 - 19:51:45 CET

This archive was generated by hypermail 2.2.0 : Wed Nov 28 2007 - 23:50:02 CET