Skip to content

Use subprocess.run - #273

Merged
adeas31 merged 6 commits into
OpenModelica:masterfrom
syntron:use_subprocess.run
May 3, 2025
Merged

Use subprocess.run#273
adeas31 merged 6 commits into
OpenModelica:masterfrom
syntron:use_subprocess.run

Conversation

@syntron

@syntron syntron commented Apr 25, 2025

Copy link
Copy Markdown
Contributor

Simplify subprocess.Popen() by using subprocess.run() in ModelicaSystem._run_cmd()

Reason: the added functionality of Popen() is not used at all in this case ...

@arun3688

Copy link
Copy Markdown
Collaborator

@syntron please resolve the conflicts and update your PR

Comment thread OMPython/ModelicaSystem.py Outdated
@adeas31
adeas31 merged commit 7ffdfb7 into OpenModelica:master May 3, 2025
@syntron
syntron deleted the use_subprocess.run branch May 4, 2025 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants