diff options
author | Galen Guyer <galen@galenguyer.com> | 2021-04-24 15:38:24 -0400 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2021-04-24 15:38:24 -0400 |
commit | df02703679d9240b241a990368349e4487b01ed9 (patch) | |
tree | 1e49a2e651dc043de61f189499c3893a09611049 | |
parent | 73da8b7cfd65c3a1ab015d1355a0174404312a74 (diff) |
Get execvp working with echo
-rw-r--r-- | composer.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,3 +1,6 @@ +#include <unistd.h> +#define COMMAND "echo" + int main(int argc, char** argv) { - return 0; + execvp(COMMAND, argv); }
\ No newline at end of file |