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.
No need for an absolute path, just a './' prefix.
Yes, but running it through a function that turns it into an absolute path is a way to ensure that. A way. An easy way.
Unless the path was already absolute.