opentelemetry-python-contrib icon indicating copy to clipboard operation
opentelemetry-python-contrib copied to clipboard

Fix python path to support both windows and linux

Open liad-miggo opened this issue 2 years ago • 3 comments
trafficstars

Description

The library had a bug regarding the execution of the python path in windows context. When there trying to execute a python executable containing a space character in the path it actually tried to execute just the first path. i.e 'C:\Program Files\Python311' there is a space the in program files, tried to execute C:\Program.exe and use the rest as arguments.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • [x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

  • [x] Tested against both windows and linux operating systems.

Does This PR Require a Core Repo Change?

  • [x] No.

liad-miggo avatar Jun 08 '23 14:06 liad-miggo