aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/symfony/console/cursor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-external-packages/src/symfony/console/cursor.rs')
-rw-r--r--crates/shirabe-external-packages/src/symfony/console/cursor.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/crates/shirabe-external-packages/src/symfony/console/cursor.rs b/crates/shirabe-external-packages/src/symfony/console/cursor.rs
index 9b031ab..42efff7 100644
--- a/crates/shirabe-external-packages/src/symfony/console/cursor.rs
+++ b/crates/shirabe-external-packages/src/symfony/console/cursor.rs
@@ -192,7 +192,7 @@ impl Cursor {
let is_tty_supported = if shirabe_php_shim::function_exists("proc_open") {
*IS_TTY_SUPPORTED.get_or_init(|| {
let mut pipes = shirabe_php_shim::PhpMixed::Null;
- shirabe_php_shim::proc_open(
+ shirabe_php_shim::php_truthy(&shirabe_php_shim::proc_open(
"echo 1 >/dev/null",
&vec![
shirabe_php_shim::PhpMixed::List(vec![
@@ -212,7 +212,10 @@ impl Cursor {
]),
],
&mut pipes,
- )
+ None,
+ None,
+ None,
+ ))
})
} else {
false