find_writable_path

Function find_writable_path 

Source
pub fn find_writable_path(name: impl AsRef<str>) -> PathBuf
Expand description

Find a writable path for a startup command. Because the command may be not unique, it will try to find the first available filename like this:

test, test1, test2, test3, test4, test5 … test1000.