mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-09 06:24:29 +08:00
Open standalone runtime ports in binary mode (#608)
This commit is contained in:
parent
86e74c90ef
commit
05490b43cb
2 changed files with 2 additions and 0 deletions
|
@ -55,6 +55,7 @@ defmodule Livebook.Runtime.ElixirStandalone do
|
|||
defp start_elixir_node(elixir_path, node_name, eval, argv) do
|
||||
# Here we create a port to start the system process in a non-blocking way.
|
||||
Port.open({:spawn_executable, elixir_path}, [
|
||||
:binary,
|
||||
# We don't communicate with the system process via stdio,
|
||||
# contrarily, we want any non-captured output to go directly
|
||||
# to the terminal
|
||||
|
|
|
@ -105,6 +105,7 @@ defmodule Livebook.Runtime.MixStandalone do
|
|||
defp start_elixir_mix_node(elixir_path, node_name, eval, argv, project_path) do
|
||||
# Here we create a port to start the system process in a non-blocking way.
|
||||
Port.open({:spawn_executable, elixir_path}, [
|
||||
:binary,
|
||||
# We don't communicate with the system process via stdio,
|
||||
# contrarily, we want any non-captured output to go directly
|
||||
# to the terminal
|
||||
|
|
Loading…
Add table
Reference in a new issue