need arg0 to be exe name
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m36s
All checks were successful
AWS-Zig Build / build-zig-0.11.0-amd64-host (push) Successful in 1m36s
This commit is contained in:
parent
edeed81e06
commit
8227857563
|
@ -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
|
// We do this first so it shows more prominently when looking at processes
|
||||||
// Also it will be slightly faster for whatever that is worth
|
// Also it will be slightly faster for whatever that is worth
|
||||||
const child_arg = "--child_of_standalone_server";
|
const child_arg = "--child_of_standalone_server";
|
||||||
|
if (argi.next()) |a| try al.append(a);
|
||||||
try al.append(child_arg);
|
try al.append(child_arg);
|
||||||
while (argi.next()) |a| {
|
while (argi.next()) |a| {
|
||||||
if (std.mem.eql(u8, child_arg, a)) {
|
if (std.mem.eql(u8, child_arg, a)) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user