Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
6 lines (5 sloc) 171 Bytes
script = "/tmp/script.rb"
open(script, ?w){|f| f << "#!/usr/local/bin/ruby\np ENV['GLARK']"}
File.chmod 0755, script
exec({'GLARK' => 'always'}, script)
# Prints "always"
Something went wrong with that request. Please try again.