From c35a83655707c9aae8f728eb850255ad0f115d11 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 31 Oct 2020 21:50:43 +0100 Subject: Added 'exec' demo program --- apps/init.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'apps/init.c') diff --git a/apps/init.c b/apps/init.c index 23f0773..73ea745 100644 --- a/apps/init.c +++ b/apps/init.c @@ -11,8 +11,7 @@ int main(int argc, char **argv) /* printf("[%s loaded]\n", argv[0]); */ int wm = exec("/wm", "wm", argv[1], NULL); - int test = exec("/window", "test", NULL); - int mandelbrot = exec("/mandelbrot", "mandelbrot", NULL); + int exec = exec("/exec", "test", NULL); - return wm + mandelbrot + test; + return wm + exec; } -- cgit v1.2.3