Function python_launcher::find_shebang[][src]

pub fn find_shebang(
    reader: impl Read
) -> Option<String>

Finds the shebang line from reader.

If a shebang line is found, then the #! is removed and the line is stripped of leading and trailing whitespace.