Searched refs:Subprocess (Results 1 - 11 of 11) sorted by relevance

/ontohub/spec/lib/
H A Dsubprocess_spec.rb3 describe Subprocess do
5 it{ Subprocess.run("echo", "what's", "up").should == "what's up\n" }
6 it{ ->{ Subprocess.run 'false' }.should raise_error Subprocess::Error }
/ontohub/lib/
H A Ddata_migration_worker.rb5 Subprocess.run('bundle', 'exec', 'rake', 'data:migrate',
H A Dsubprocess.rb3 module Subprocess module
8 super "Subprocess #{args.inspect} exited with status #{status}:\n#{output}"
/ontohub/app/models/key/
H A Dfingerprint.rb18 output = Subprocess.run 'ssh-keygen', '-lf', file.path
25 output = Subprocess.run 'ssh-keygen', '-l', '-E', 'md5', '-f', file.path
32 rescue Subprocess::Error => e
/ontohub/lib/git_repository/
H A Dcloning.rb75 rescue Subprocess::Error => e
90 rescue Subprocess::Error
95 Subprocess.run *args
108 Subprocess.run *args
/ontohub/spec/factories/
H A Dsvn_repository_factory.rb14 exec_silently = ->(cmd) { Subprocess.run('bash', '-c', cmd) }
H A Dgit_repository_factory.rb16 exec_silently = ->(cmd) { Subprocess.run('bash', '-c', cmd) }
48 exec_silently = ->(cmd) { Subprocess.run('bash', '-c', cmd) }
87 exec_silently = ->(cmd) { Subprocess.run('bash', '-c', cmd) }
113 exec_silently = ->(cmd) { Subprocess.run('bash', '-c', cmd) }
154 exec_silently = ->(cmd) { Subprocess.run('bash', '-c', cmd) }
/ontohub/git/lib/
H A Dgit_update.rb8 Subprocess.run 'redis-cli', 'rpush',
/ontohub/lib/dsl/
H A Drepo.rb54 Subprocess.run 'git', 'init', @path
/ontohub/spec/lib/repository/import/
H A Dsvn_spec.rb4 Subprocess.run('bash', '-c', cmd)
/ontohub/app/helpers/
H A Dapplication_helper.rb65 Subprocess.run(*%w(git rev-parse --short HEAD), GIT_DIR: path.to_s).strip if path.exist?

Completed in 11 milliseconds