From 143156f63e2448733f1a35a74e629fe0ae9bb567 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Sun, 13 Sep 2020 19:51:09 -0400 Subject: have command shell block while commands are running --- src/user/include/knob/task.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/user/include/knob') diff --git a/src/user/include/knob/task.h b/src/user/include/knob/task.h index ea5df62..6539a00 100644 --- a/src/user/include/knob/task.h +++ b/src/user/include/knob/task.h @@ -1,9 +1,11 @@ #ifndef KNOB_TASK_H #define KNOB_TASK_H +#include #include -bool try_run_command(const char *path); +uint32_t run_command(const char *path); +bool try_run_command_blocking(const char *path); void yield_task(); #endif \ No newline at end of file -- cgit v1.2.3