Skip to content
Snippets Groups Projects
Commit c79daba6 authored by tuhe's avatar tuhe
Browse files

updatse

parent 401efbb5
No related branches found
No related tags found
No related merge requests found
Metadata-Version: 2.1 Metadata-Version: 2.1
Name: unitgrade-devel Name: unitgrade-devel
Version: 0.1.53 Version: 0.1.54
Summary: A set of tools to develop unitgrade tests and reports and later evaluate them Summary: A set of tools to develop unitgrade tests and reports and later evaluate them
Home-page: https://lab.compute.dtu.dk/tuhe/unitgrade_private Home-page: https://lab.compute.dtu.dk/tuhe/unitgrade_private
Author: Tue Herlau Author: Tue Herlau
......
...@@ -2,6 +2,7 @@ import io ...@@ -2,6 +2,7 @@ import io
import select import select
import subprocess import subprocess
import sys import sys
import subprocess
# logger = logging.getLogger() # logger = logging.getLogger()
...@@ -32,7 +33,7 @@ def run(cmd : str | list, print_output=True, log_output=False, check=True, *args ...@@ -32,7 +33,7 @@ def run(cmd : str | list, print_output=True, log_output=False, check=True, *args
import os import os
if os.name == "nt": # th juli 2023: annoying winows problem. if os.name == "nt": # th juli 2023: annoying winows problem.
print("Warning, due to problem on windows the console output will not be shown while the command is runnign (error due to select.select).") print("Warning, due to problem on windows the console output will not be shown while the command is runnign (error due to select.select).")
import subprocess
p = subprocess.run(cmd, shell=True, encoding="utf-8", capture_output=True) p = subprocess.run(cmd, shell=True, encoding="utf-8", capture_output=True)
# out_ = p.stdout # out_ = p.stdout
# err_ = p.stderr # err_ = p.stderr
......
__version__ = "0.1.53" __version__ = "0.1.54"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment