From df02703679d9240b241a990368349e4487b01ed9 Mon Sep 17 00:00:00 2001 From: Galen Guyer Date: Sat, 24 Apr 2021 15:38:24 -0400 Subject: Get execvp working with echo --- composer.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/composer.c b/composer.c index 9eab473..5ad0273 100644 --- a/composer.c +++ b/composer.c @@ -1,3 +1,6 @@ +#include +#define COMMAND "echo" + int main(int argc, char** argv) { - return 0; + execvp(COMMAND, argv); } \ No newline at end of file -- cgit v1.2.3