Skip to main content

with_pwd

Function with_pwd 

Source
pub fn with_pwd(env: &[CString], dir: &[u8]) -> Vec<CString>
Expand description

env with PWD naming dir, as bubblewrap exports it once it has entered the directory the command starts in; a program reads its working directory from it, as Proton’s protonfixes does to find the game’s library.