Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Array#to_hash extension breaks one form of Kernel.exec and so prevents selenium-webdriver from working #52

Open
rsutphin opened this issue Jul 17, 2013 · 1 comment

Comments

@rsutphin
Copy link

The extension Array#to_hash in this gem breaks Kernel.exec when called with these params:

[cmdname, argv0], arg1, ... : command name, argv[0] and zero or more arguments (no shell)

Observed on ruby 1.9.3-p448 and 2.0.0-p247. The nature of the failure is an ENOENT exception where it appears that exec attempted to execute the first argument rather than the executable. Demonstration gist.

This form of Kernel.exec is used by childprocess which is used by selenium-webdriver, so this interference prevents an application which uses this gem from being tested with selenium-webdriver (via capybara or otherwise).

@colorfulfool
Copy link

colorfulfool commented Jul 8, 2016

This also broke multipart forms submission on our entire website.

2016-07-08 17 59 45

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants