blob: 8e9c2a2f876c0e437bf95896b4bb7cd292d95cda (
plain)
1
2
3
4
5
6
7
8
9
10
|
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
int main(int argc, char *argv[])
{
execlp("cmdtest", "cmdtest", ".", NULL);
perror("Unable to execute 'cmdtest'. Make sure, that it is installed");
exit(1);
}
|