Skip to content

Commit 83002fa

Browse files
committed
Better non-*nix process command line handling.
1 parent ad914ab commit 83002fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instana/fsm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def announce_sensor(self, e):
124124
cmdinfo = cmd.read()
125125
cmdline = cmdinfo.split('\x00')
126126
else:
127-
cmdline = [os.path.basename(sys.executable)]
127+
cmdline = [sys.executable]
128128
cmdline += sys.argv
129129

130130
d = Discovery(pid=pid,

0 commit comments

Comments
 (0)