Can a runner use the current file as context?



I’m trying to create a runner to run Rubocop on the file I have open and invoke ‘Run’ from. It was easy to create one that examines the whole project, but ‘Shell command’ type runners don’t appear to accept the environment settings that are documented at

I ran ‘env’ as a Shell command runner, and it sets globals like the project directory, username, project name, etc. but never appears to set the current file. The ENV box requires you to set a static key/value which also does me no good.

Is my only option a Shell script runner so that I have access to the documented automatic variables?