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
Calling exec.exec(some_command, some_args, {cwd: <bad-path>} ends up throwing an error that says #[error]There was an error when attempting to execute the process '/bin/<some_command>'. This may indicate the process failed to start. Error: spawn /bin/<some-command> ENOENT. I assume the ENOENT is because of the missing directory, but it seems like it's the binary command that's actually missing.
To Reproduce
Steps to reproduce the behavior:
Add await exec.exec("ls", "-Fla", { cwd: "/bad/path" }); to an action that's using @actions/exec
Run the action, and see ::error::There was an error when attempting to execute the process '/bin/ls'. This may indicate the process failed to start. Error: spawn /bin/ls ENOENT in the log output
Expected behavior
An error message along the lines of Setting working directory to "/bad/path" which does not exist would be more user friendly
The text was updated successfully, but these errors were encountered:
Describe the bug
Calling
exec.exec(some_command, some_args, {cwd: <bad-path>}
ends up throwing an error that says#[error]There was an error when attempting to execute the process '/bin/<some_command>'. This may indicate the process failed to start. Error: spawn /bin/<some-command> ENOENT
. I assume the ENOENT is because of the missing directory, but it seems like it's the binary command that's actually missing.To Reproduce
Steps to reproduce the behavior:
await exec.exec("ls", "-Fla", { cwd: "/bad/path" });
to an action that's using@actions/exec
::error::There was an error when attempting to execute the process '/bin/ls'. This may indicate the process failed to start. Error: spawn /bin/ls ENOENT
in the log outputExpected behavior
An error message along the lines of
Setting working directory to "/bad/path" which does not exist
would be more user friendlyThe text was updated successfully, but these errors were encountered: