# The type builtin: executable files #mg5 - Windows issue?

**URL:** <https://forum.codecrafters.io/t/the-type-builtin-executable-files-mg5-windows-issue/6367>\
**Category:** Challenges\
**Tags:** challenge:shell\
**Created:** [March 9, 2025, 4:22pm UTC](https://forum.codecrafters.io/t/the-type-builtin-executable-files-mg5-windows-issue/6367 "2025-03-09T16:22:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![allenac86](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/allenac86/32/6595_2.png) [@allenac86](https://forum.codecrafters.io/u/allenac86)\
**Post date:** [March 9, 2025, 4:22pm UTC](https://forum.codecrafters.io/t/the-type-builtin-executable-files-mg5-windows-issue/6367/1 "2025-03-09T16:22:01Z")

</div>

It’s working locally, but when I commit and push all the tests pass except for cat:

```auto
remote: ------------------------------------------------------------------------
remote: 
remote: ⚡ This is a turbo test run. https://codecrafters.io/turbo
remote:
remote: Running tests on your code. Logs should appear shortly...
remote:
remote: [compile] Moved ./.codecrafters/run.sh → ./your_program.sh
remote: [compile] Compilation successful.
remote:
remote: [tester::#MG5] Running tests for Stage #MG5 (The type builtin: executable files)
remote: [tester::#MG5] [setup] export PATH=/tmp/quz:$PATH
remote: [tester::#MG5] [setup] export PATH=/tmp/bar:$PATH
remote: [tester::#MG5] [setup] Available executables:
remote: [tester::#MG5] [setup] - my_exe
remote: [tester::#MG5] Running ./your_program.sh
remote: [your-program] $ type cat
remote: [your-program] cat is /tmp/bar/cat
remote: [your-program] cat is /tmp/bar/cat
remote: [tester::#MG5] Output does not match expected value.
remote: [your-program] cat is /tmp/bar/cat
remote: [tester::#MG5] Output does not match expected value.
remote: [your-program] cat is /tmp/bar/cat
remote: [tester::#MG5] Output does not match expected value.
remote: [tester::#MG5] Expected: "cat is /bin/cat"
remote: [tester::#MG5] Received: "cat is /tmp/bar/cat"
remote: [your-program] $
remote: [tester::#MG5] Assertion failed.
remote: [tester::#MG5] Test failed (try setting 'debug: true' in your codecrafters.yml to see more details)
remote:
remote: Try our CLI to run tests faster without Git: https://codecrafters.io/cli
remote:
remote: View our article on debugging test failures: https://codecrafters.io/debug

```

When I try to exec cat in the same terminal i get:

```auto
'cat' is not recognized as an internal or external command,
operable program or batch file.

```

---

<div class="post-metadata">

**Author:** ![allenac86](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/allenac86/32/6595_2.png) [@allenac86](https://forum.codecrafters.io/u/allenac86)\
**Post date:** [March 9, 2025, 4:30pm UTC](https://forum.codecrafters.io/t/the-type-builtin-executable-files-mg5-windows-issue/6367/4 "2025-03-09T16:30:33Z")

</div>

I found the flaw in my logic

---

<div class="post-metadata">

**Author:** ![andy1li](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/andy1li/32/10_2.png) [@andy1li](https://forum.codecrafters.io/u/andy1li)\
**Post date:** [March 9, 2025, 4:42pm UTC](https://forum.codecrafters.io/t/the-type-builtin-executable-files-mg5-windows-issue/6367/5 "2025-03-09T16:42:01Z")

</div>

Hey @allenac86, would you mind sharing what the issue was? It could be helpful for others who might run into the same problem.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/3X/7/0/700657133935c15703e22c7c8870394f6e6dc27d.svg) [@system](https://forum.codecrafters.io/u/system)\
**Post date:** [March 22, 2025, 7:40am UTC](https://forum.codecrafters.io/t/the-type-builtin-executable-files-mg5-windows-issue/6367/7 "2025-03-22T07:40:05Z")

</div>

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.
