We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For some cases, Porcelain.spawn returns data of structure {:error, <reason>}. E.g:
{:error, <reason>}
iex(23)> Porcelain.spawn("whoami2", []) {:error, "Command not found: whoami2"}
But the spec doesn't capture it:
@spec spawn(binary, [binary]) :: Porcelain.Process.t @spec spawn(binary, [binary], Keyword.t) :: Porcelain.Process.t def spawn(prog, args, options \\ [])
leading to little annoyances like warning messages about pattern matching with the error msg type.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
For some cases, Porcelain.spawn returns data of structure
{:error, <reason>}
. E.g:But the spec doesn't capture it:
leading to little annoyances like warning messages about pattern matching with the error msg type.
The text was updated successfully, but these errors were encountered: