mirror of
https://github.com/remko/waforth
synced 2024-12-26 09:59:09 +01:00
parent
7ccc11dd41
commit
20babd5271
2 changed files with 2 additions and 2 deletions
1
.github/workflows/build-master.yml
vendored
1
.github/workflows/build-master.yml
vendored
|
@ -37,7 +37,6 @@ jobs:
|
||||||
- run: |
|
- run: |
|
||||||
mkdir pages
|
mkdir pages
|
||||||
tar xf artifact.tar -C pages
|
tar xf artifact.tar -C pages
|
||||||
- run: ls -R pages
|
|
||||||
- name: aws s3 sync
|
- name: aws s3 sync
|
||||||
run: |
|
run: |
|
||||||
aws configure set region eu-central-1
|
aws configure set region eu-central-1
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
#include <cerrno>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
|
@ -90,7 +91,7 @@ int runChild(const std::vector<std::string> &cmd) {
|
||||||
auto pid = fork();
|
auto pid = fork();
|
||||||
if (pid == 0) {
|
if (pid == 0) {
|
||||||
if (execvp(argsp[0], (char **)&argsp[0]) == -1) {
|
if (execvp(argsp[0], (char **)&argsp[0]) == -1) {
|
||||||
std::cerr << "execvp() error" << std::endl;
|
std::cerr << "error executing '" << cmd[0] << ": " << std::strerror(errno) << " (" << errno << ")" << std::endl;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue