MCPcopy Create free account
hub / github.com/PlutoLang/Pluto / resolve_installed_program

Function resolve_installed_program

scripts/common.php:80–87  ·  view source on GitHub ↗
($exe)

Source from the content-addressed store, hash-verified

78}
79
80function resolve_installed_program($exe)
81{
82 if(defined("PHP_WINDOWS_VERSION_MAJOR"))
83 {
84 return escapeshellarg(system("where ".escapeshellarg($exe)));
85 }
86 return escapeshellarg(system("command -v ".escapeshellarg($exe)));
87}
88
89function for_each_obj($f)
90{

Callers 2

link_static.phpFile · 0.85
check_compilerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected