Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (16 sloc) 531 Bytes
Alternate implementations of system() and backticks `` for Windows.
To replace Kernel#system and Kernel#` in one step,
require 'alt_system'
Otherwise if you wish to call AltSystem#system and AltSystem#backticks
manually,
require 'alt_system/alt_system'
The spec describes the differences between the original and alternate
implementations:
spec_output/system_spec_kernel.html
spec_output/system_spec_alt.html
To run the spec on both:
% gem install rspec
% rake
Or individually:
% rake alt
% rake kernel