mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-21 18:25:32 +02:00
fix: auto fixes
This commit is contained in:
parent
3b9a733509
commit
456121516f
1 changed files with 14 additions and 11 deletions
|
@ -149,17 +149,20 @@ class Helper:
|
||||||
)
|
)
|
||||||
var python_path = output[0].strip_edges()
|
var python_path = output[0].strip_edges()
|
||||||
|
|
||||||
var exit_code = OS.execute(
|
var exit_code = (
|
||||||
python_path,
|
OS
|
||||||
[
|
. execute(
|
||||||
"-c",
|
python_path,
|
||||||
(
|
[
|
||||||
"import struct, fcntl, termios; print(struct.unpack('HH', fcntl.ioctl(%d, termios.TIOCGWINSZ, '1234')))"
|
"-c",
|
||||||
% fd
|
(
|
||||||
)
|
"import struct, fcntl, termios; print(struct.unpack('HH', fcntl.ioctl(%d, termios.TIOCGWINSZ, '1234')))"
|
||||||
],
|
% fd
|
||||||
true,
|
)
|
||||||
output
|
],
|
||||||
|
true,
|
||||||
|
output
|
||||||
|
)
|
||||||
)
|
)
|
||||||
assert(exit_code == 0, "Failed to run python command for this test.")
|
assert(exit_code == 0, "Failed to run python command for this test.")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue