Skip to main content

windows_binary_caller

Function windows_binary_caller 

Source
pub fn windows_binary_caller(bin: &Path) -> Result<String>
Expand description

BinaryInstaller::determineBinaryCaller: call for a .bat or .exe target (substr($bin, -4) — case-sensitive, and NOT .cmd); otherwise the shebang interpreter — everything after the last path segment, arguments included (#!/usr/bin/env php -dfoophp -dfoo); otherwise php.