phantomjs-gem icon indicating copy to clipboard operation
phantomjs-gem copied to clipboard

Silence which output to STDOUT

Open ArnisL opened this issue 8 years ago • 2 comments

Unsure how good/bad idea this is

But at least locally I've made these changes:

      def system_phantomjs_path
        #`which phantomjs`.delete("\n")
        (system 'which phantomjs', STDOUT: '/dev/null').delete("\n")
      rescue
      end

Maybe others find this a good idea

ArnisL avatar May 03 '16 05:05 ArnisL

+1

mokoaki avatar Jun 15 '16 01:06 mokoaki

See #85 for a pull request that would close this.

tuxayo avatar Dec 21 '16 16:12 tuxayo