Function sgx_tstd::env::join_paths[][src]

pub fn join_paths<I, T>(paths: I) -> Result<OsString, JoinPathsError> where
    I: IntoIterator<Item = T>,
    T: AsRef<OsStr>, 

Joins a collection of Paths appropriately for the PATH environment variable.

Errors

Returns an Err (containing an error message) if one of the input Paths contains an invalid character for constructing the PATH variable (a double quote on Windows or a colon on Unix).