97e069ed96
The zombie executable was symlinked, symlinks do not work properly under jruby and rbx.
18 lines
290 B
Ruby
Executable file
18 lines
290 B
Ruby
Executable file
#!/usr/bin/env ruby
|
|
|
|
trap('INT') do |status|
|
|
exit! 128 + status
|
|
end
|
|
|
|
require 'mutant'
|
|
|
|
namespace =
|
|
if ARGV.include?('--zombie')
|
|
$stderr.puts('Running mutant zombified!')
|
|
Mutant::Zombifier.zombify
|
|
Zombie::Mutant
|
|
else
|
|
Mutant
|
|
end
|
|
|
|
Kernel.exit(namespace::CLI.run(ARGV))
|