from q2terminal.q2terminal import Q2Terminal
import sys
t = Q2Terminal()
t.run("programm", echo=True)
assert t.exit_code != 0
assert t.run("$q2 = 123") == []
assert t.run("echo $q2") == ["123"]
if "win32" in sys.platform:
t.run("notepad")
assert t.exit_code == 0
-
Notifications
You must be signed in to change notification settings - Fork 0
AndreiPuchko/q2terminal
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published