[−][src]Function python_launcher::split_shebang
pub fn split_shebang(
shebang_line: &str
) -> Option<(RequestedVersion, Vec<String>)>
Split the shebang into the Python version specified and the arguments to pass to the executable.
Some
is only returned if the specified executable is one of:
/usr/bin/python
/usr/local/bin/python
/usr/bin/env python
python