Fix fix fix tests.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4852 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2024-02-17 15:33:08 +00:00
parent dca48fae36
commit 22bf046643
4 changed files with 14 additions and 7 deletions

View File

@ -175,6 +175,7 @@ static JSValue _taskstub_create(JSContext* context, JSValueConst this_val, int a
options.stdio = io;
options.stdio_count = sizeof(io) / sizeof(*io);
options.file = command_argv[0];
options.env = (char*[]) { "ASAN_OPTIONS=detect_leaks=0", NULL };
stub->_process.data = stub;
int spawn_result = uv_spawn(tf_task_get_loop(parent), &stub->_process, &options);