Does the script file have a shebang? (Something like #!/bin/sh
as the first line)
Linux Gaming
Gaming on the GNU/Linux operating system.
Recommended news sources:
Related chat:
Related Communities:
Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.
That's what was missing. Thank you!
So it works now? If so, then glad to be of help.
Just remember that if your shebang points to sh, you can't rely on bash-specific features. The shebang line basically tells the kernel to run your file with the specified program. So, for example, a file with #!/bin/cat
will print the full contents of the file (including the shebang) and #!/bin/echo
will print the command line. (something like ./script arg1 arg2) As the echo command does not try to interpret arguments as paths, the content of the script would be ignored in that case.
Do you have space in the path of your script?
Is it executable?
There is no space in the path.
And it is executable, if I paste the exact line from the config-dialog into a terminal the script runs as expected and creates the text-file.
Just to be sure: this is a script, right? Sitting somewhere? Not just a command put directly in the config?
I think you might have to ask in https://github.com/lutris/lutris/issues I'm out of ideas