Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Yuan Zhixiang
c-backend-docker
Commits
fe11025a
Commit
fe11025a
authored
Apr 29, 2024
by
Yuan Zhixiang
Browse files
修复input不能包含127以外字符的bug
parent
5cab7ab1
Changes
1
Show whitespace changes
Inline
Side-by-side
c-backend/run_cpp_backend.py
View file @
fe11025a
...
...
@@ -95,7 +95,7 @@ if gcc_retcode == 0:
stdout
=
PIPE
,
stdin
=
PIPE
,
stderr
=
PIPE
)
valgrind_p
.
stdin
.
write
(
input_data
.
encode
(
'utf-8'
)
)
valgrind_p
.
stdin
.
write
(
input_data
)
(
valgrind_stdout
,
valgrind_stderr
)
=
valgrind_p
.
communicate
()
valgrind_retcode
=
valgrind_p
.
returncode
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment