We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ee7126 commit f928701Copy full SHA for f928701
1 file changed
mprof
@@ -228,7 +228,7 @@ def run_action():
228
if options.python:
229
print("running as a Python program...")
230
if not args[0].startswith("python"):
231
- args.insert(0, "python")
+ args.insert(0, sys.executable)
232
cmd_line = get_cmd_line(args)
233
args[1:1] = ("-m", "memory_profiler", "--timestamp",
234
"-o", mprofile_output)
0 commit comments