mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +00:00
LibFileSystem+Everything: Remove resolve_executable_from_environment
This commit is contained in:
committed by
Jelle Raaijmakers
parent
26efdf9d4f
commit
f20d04726a
@@ -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(':');
|
||||
|
||||
Reference in New Issue
Block a user