pyreport modifies working directory
Bug #575590 reported by
Thorsten Kranz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyreport |
New
|
Undecided
|
Unassigned |
Bug Description
Hi Gael,
I have a problem using pyreport. When I run it on a script that does not lie in the same directory as I'm working in, e.g.
when I try somewhere in the filesystem:
pyreport -o ./filt1.py -a ./filt.xml /home/thorsten/
where filt1.xml is a file containing options for the script filt1.py, then pyreport seems to do a cwd into /home/thorsten/bin and executes the script in there. Then, all relative paths are wrong.
Is there a way to fix this behaviour? Or is pyreport not intended to work in such a setup?
Thanks,
Thorsten
To post a comment you must log in.