3 ms·
You need to ensure that user_input doesn't start with `-`. You can do that by forcing an absolute path. Some programs accept `--` as a marker that any arguments
by panzi 1y ago
You need to ensure that user_input doesn't start with `-`. You can do that by forcing an absolute path. Some programs accept `--` as a marker that any arguments after that are non-options.
- pwdisswordfishz 1y agoNo need for an absolute path, just a './' prefix.