We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5fff3e0 + 4cd6dff commit 52c02e2Copy full SHA for 52c02e2
core/Env.savi
@@ -17,6 +17,10 @@
17
argv CPointer(CPointer(U8)'ref)'ref
18
envp CPointer(CPointer(U8)'ref)'ref
19
)
20
+ // This sets up proper buffering for stdout and stderr.
21
+ // Without this, program output piped to files may behave poorly.
22
+ _FFI.pony_os_stdout_setup
23
+
24
@args = []
25
i = USize[0]
26
while argc > 0 (
core/_FFI.savi
@@ -5,6 +5,7 @@
5
:ffi variadic snprintf(buffer CPointer(U8), buffer_size I32, fmt CPointer(U8)) I32
6
7
:ffi pony_exitcode(code I32) None
8
+ :ffi pony_os_stdout_setup() None
9
:ffi pony_os_stdout() CPointer(None)'ref
10
:ffi pony_os_stderr() CPointer(None)'ref
11
:ffi pony_os_std_print(
0 commit comments