I have a problem when I run codecrafters test I get this error
[tester::#MG5] Running tests for Stage #MG5 (The type builtin: executable files)
[tester::#MG5] [setup] export PATH=/tmp/bar:$PATH
[tester::#MG5] [setup] export PATH=/tmp/foo:$PATH
[tester::#MG5] [setup] Available executables:
[tester::#MG5] [setup] - my_exe
[tester::#MG5] Running ./your_program.sh
[tester::#MG5] Expected prompt ("$ ") but received ""
[tester::#MG5] Assertion failed.
[tester::#MG5] Test failed
and it’s working fine on my pc, i don’t know where is the problem and I print the prompt at the beginning of the code
// extract environment paths
char *fullPaths = getenv("PATH");
pathCounter = extractPaths(fullPaths, environmentPaths);
while(1) {
// Uncomment this block to pass the first stage
printf("$ ");
// Wait for user input
fgets(input, sizeof(input), stdin);
...



