Sorry disregard that last email, my mail client decided to send it prematurely. (I think I has muscle memory for new lines in Slack now :/)
You can always run the runner programmatically instead, rather than shelling out. Someone is trying to do something similar to you here: https://github.com/rspec/rspec-core/issues/2721 Basically you can invoke the runner yourself with: options = RSpec::Core::ConfigurationOptions.new(args) RSpec::Core::Runner.new(options).run($stderr, $stdout) Where args could be your file during into a list of strings. Your issue is you are trying to pass runner options via config, which is not supported,(as we are primarily a command line tool) whilst their issue is just due to reusing some configuration but not all. Cheers Jon Rowe --------------------------- [email protected] jonrowe.co.uk On 15 April 2020 at 09:59, Jon Rowe wrote: > You can always run the runner programmatically instead, rather than shelling > out. Someone is trying to do something similar to you here: > > > The issue is not that this cannot be provided, its more that your are trying > to use the configuration to provide command line > > configuration cannot be provided, its that its not cleared. > > The runner takes a list of files > > Jon Rowe > --------------------------- > [email protected] (mailto:[email protected]) > jonrowe.co.uk (http://jonrowe.co.uk) > > > > > > > -- You received this message because you are subscribed to the Google Groups "rspec" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/dejalu-217-aa602269-57b9-4f1b-bfc6-5ec61c2d6fcf%40jonrowe.co.uk.
