mirror of
https://github.com/RGBCube/serenity
synced 2025-07-08 20:27:35 +00:00
LibFileSystem+Everything: Remove resolve_executable_from_environment
This commit is contained in:
parent
26efdf9d4f
commit
f20d04726a
12 changed files with 12 additions and 23 deletions
|
@ -1422,7 +1422,7 @@ void Shell::cache_path()
|
|||
cached_path.append({ RunnablePath::Kind::Alias, name });
|
||||
}
|
||||
|
||||
// TODO: Can we make this rely on FileSystem::resolve_executable_from_environment()?
|
||||
// TODO: Can we make this rely on Core::System::resolve_executable_from_environment()?
|
||||
DeprecatedString path = getenv("PATH");
|
||||
if (!path.is_empty()) {
|
||||
auto directories = path.split(':');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue