From adea22ed04e97cda4362856c7c91057299fa38fc Mon Sep 17 00:00:00 2001 From: Ryan Gang Date: Wed, 24 Apr 2024 18:32:54 +0530 Subject: [PATCH] fix: fix spawn script to properly pass args --- compiled_starters/csharp/your_grep.sh | 2 +- solutions/csharp/01-init/code/your_grep.sh | 2 +- starter_templates/csharp/your_grep.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/compiled_starters/csharp/your_grep.sh b/compiled_starters/csharp/your_grep.sh index 089eba7..cd2efe5 100755 --- a/compiled_starters/csharp/your_grep.sh +++ b/compiled_starters/csharp/your_grep.sh @@ -5,4 +5,4 @@ # CodeCrafters uses this file to test your code. Don't make any changes here! # # DON'T EDIT THIS! -exec dotnet run --project . --configuration Release "$@" +exec dotnet run --project . --configuration Release -- "$@" diff --git a/solutions/csharp/01-init/code/your_grep.sh b/solutions/csharp/01-init/code/your_grep.sh index 089eba7..cd2efe5 100755 --- a/solutions/csharp/01-init/code/your_grep.sh +++ b/solutions/csharp/01-init/code/your_grep.sh @@ -5,4 +5,4 @@ # CodeCrafters uses this file to test your code. Don't make any changes here! # # DON'T EDIT THIS! -exec dotnet run --project . --configuration Release "$@" +exec dotnet run --project . --configuration Release -- "$@" diff --git a/starter_templates/csharp/your_grep.sh b/starter_templates/csharp/your_grep.sh index 089eba7..cd2efe5 100755 --- a/starter_templates/csharp/your_grep.sh +++ b/starter_templates/csharp/your_grep.sh @@ -5,4 +5,4 @@ # CodeCrafters uses this file to test your code. Don't make any changes here! # # DON'T EDIT THIS! -exec dotnet run --project . --configuration Release "$@" +exec dotnet run --project . --configuration Release -- "$@"