You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
assignee=Noneclosed_at=<Date2020-10-18.21:00:06.199>created_at=<Date2020-05-04.03:36:27.218>labels= ['3.8', 'type-bug', 'library', '3.9', '3.10']
title='-m cProfile -o f.pstats with a script that does chdir() writes to the changed directory and not `.`'updated_at=<Date2020-10-18.21:16:27.048>user='https://github.com/asottile'
I think it is worth to fix and it should be not difficult to fix. Either make the output file name absolute before executing the script, or open the output file before executing the script (what is easier). Unless I miss something.