Skip to content

Commit

Permalink
fix windows (hopefully)
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
  • Loading branch information
ivanpauno committed Oct 29, 2021
1 parent ee47439 commit 6c4f4d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion launch_pytest/test/launch_pytest/tools/test_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import sys

import launch
import launch_pytest
from launch_pytest import tools
Expand All @@ -31,7 +33,7 @@
@pytest.fixture
def dut():
return launch.actions.ExecuteProcess(
cmd=['python3', '-c', PYTHON_SCRIPT],
cmd=[sys.executable, '-c', PYTHON_SCRIPT],
cached_output=True,
output='screen'
)
Expand Down

0 comments on commit 6c4f4d8

Please sign in to comment.