You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run mix docs the 8 files in images are copied recursively to doc/images as illustrated in the attached.
However when I run mix cmd elixir --color -S mix docs only the first file is copied and the process freezes.
Yes, in this case it is intentional. mix cmd does not forward stdin requests to the invoked subcommand, so you cannot interact with the underlying terminal. In this case, I would recommend not relying on mix cmd to invoke Elixir itself. If you really need to shell out with stdin redirection, I recommend using projects like porcelain or erlexec.
Elixir and Erlang/OTP versions
I have a
mix.exs
that invokes the followingdocs
alias:When I run
mix docs
the 8 files inimages
are copied recursively todoc/images
as illustrated in the attached.However when I run
mix cmd elixir --color -S mix docs
only the first file is copied and the process freezes.mix docs.docx
mix.exs.docx
Operating system
Windows 10
Current behavior
When I run
mix cmd elixir --color -S mix docs
only the first file is copied and the process is frozen.Expected behavior
When I run
mix cmd elixir --color -S mix docs
all 8 files should be copied recursively without any freezing.The text was updated successfully, but these errors were encountered: