aboutsummaryrefslogtreecommitdiffstats
path: root/src/doexec.c
blob: 319f6c2948ee8c784484758b9a58666a6d2b7ec2 (plain)
1
2
3
4
5
6
7
#include <unistd.h>

int main(int argc, char ** argv) {
    if (argc<2) return 1;
    execvp(argv[1], argv + 2);
    return 1;
}