mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:37:35 +00:00
parent
8fc6ff94fe
commit
36a5e0be4b
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ bool spawn(String executable, String argument)
|
||||||
if (child_pid == 0) {
|
if (child_pid == 0) {
|
||||||
if (execl(executable.characters(), executable.characters(), argument.characters(), nullptr) < 0) {
|
if (execl(executable.characters(), executable.characters(), argument.characters(), nullptr) < 0) {
|
||||||
perror("execl");
|
perror("execl");
|
||||||
return false;
|
exit(1);
|
||||||
}
|
}
|
||||||
ASSERT_NOT_REACHED();
|
ASSERT_NOT_REACHED();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue