From 8227857563833d0206adeb1a7334b756caa052a2 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Wed, 25 Oct 2023 17:27:04 -0700 Subject: [PATCH] need arg0 to be exe name --- src/universal_lambda.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/universal_lambda.zig b/src/universal_lambda.zig index 51b14e7..e66c63c 100644 --- a/src/universal_lambda.zig +++ b/src/universal_lambda.zig @@ -38,6 +38,7 @@ fn runStandaloneServerParent(allocator: ?std.mem.Allocator, event_handler: inter // We do this first so it shows more prominently when looking at processes // Also it will be slightly faster for whatever that is worth const child_arg = "--child_of_standalone_server"; + if (argi.next()) |a| try al.append(a); try al.append(child_arg); while (argi.next()) |a| { if (std.mem.eql(u8, child_arg, a)) {