mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-24 07:09:48 +08:00
mavsdk_tests: use subprocess instead of sys stdout
This commit is contained in:
@@ -8,7 +8,6 @@ import os
|
||||
import psutil
|
||||
import signal
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
|
||||
test_matrix = [
|
||||
@@ -44,7 +43,7 @@ class Runner:
|
||||
datetime.datetime.now().strftime("%Y-%m-%dT%H-%M-%SZ")
|
||||
), 'w')
|
||||
else:
|
||||
f = sys.stdout
|
||||
f = subprocess.STDOUT
|
||||
|
||||
print("Running: {}".format(" ".join([self.cmd] + self.args)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user