Child processes send trace information back to the parent. Also fixed weird double-activation of children.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3729 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2022-01-02 18:17:58 +00:00
parent d550092bd3
commit 23b15a8dc5
7 changed files with 71 additions and 32 deletions

View File

@ -481,7 +481,7 @@ static int _tf_command_sandbox(const char* file, int argc, char* argv[])
tf_task_t* task = tf_task_create();
tf_task_configure_from_stdin(task);
shedPrivileges();
tf_task_activate(task);
/* The caller will trigger tf_task_activate with a message. */
tf_task_run(task);
tf_task_destroy(task);
return 0;