Skip to content

Commit c69a6b7

Browse files
committed
Processing (Linux): reports command not found earlier
1 parent 0521513 commit c69a6b7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/common/impl/processing_linux.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ const char* ffProcessSpawn(char* const argv[], bool useStdErr, FFProcessHandle*
128128
{
129129
close(pipes[0]);
130130
close(pipes[1]);
131+
if (ret == ENOENT)
132+
return "command not found";
131133
return "posix_spawnp() failed";
132134
}
133135

0 commit comments

Comments
 (0)