From 6841e724b2800fc79585ad0456217e6ac46cee7c Mon Sep 17 00:00:00 2001 From: Andy Li <1450947+andy1li@users.noreply.github.com> Date: Thu, 14 Aug 2025 16:04:41 +0800 Subject: [PATCH] Add Elixir-specific note on System.find_executable in base-07-mg5.md --- stage_descriptions/base-07-mg5.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stage_descriptions/base-07-mg5.md b/stage_descriptions/base-07-mg5.md index 4246502..f5a5bf7 100644 --- a/stage_descriptions/base-07-mg5.md +++ b/stage_descriptions/base-07-mg5.md @@ -8,6 +8,10 @@ For example, if PATH is `/dir1:/dir2:/dir3`, your shell should search in `/dir1` - If a matching files is found and it has execute permissions, your shell should print the path to the file. - If no matching files are found, your shell should print `: not found`. +{{#lang_is_elixir}} +It's not recommended to use [System.find_executable](https://hexdocs.pm/elixir/1.18.4/System.html#find_executable/1) if you'd like to learn how to implement the functionality manully. +{{/lang_is_elixir}} + ### Tests The tester will execute your program with a custom `PATH` like this: