Skip to content

Commit 4249f1b

Browse files
committed
[TOOLS] fix urtrace not preserving env variables
1 parent a504ead commit 4249f1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/urtrace/urtrace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def get_dynamic_library_name(name):
6363
config = vars(args)
6464
if args.debug:
6565
print(config)
66-
env = dict()
66+
env = os.environ.copy()
6767

6868
collector_args = ""
6969
if args.print_begin:

0 commit comments

Comments
 (0)