diff options
author | Christoph Helma <helma@in-silico.ch> | 2012-03-06 10:59:11 +0000 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2012-03-06 10:59:11 +0000 |
commit | 7588adffdbd48a73d8b22be2379a5afee79e5bea (patch) | |
tree | 08c0468626666d7f96d749b9ced55a34a8a35298 /lib/task.rb | |
parent | a5f8c658ba87a00950766182966b65c65d5e2b66 (diff) |
backtick operator overwrite to catch system call errors
Diffstat (limited to 'lib/task.rb')
-rw-r--r-- | lib/task.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/task.rb b/lib/task.rb index d7ad539..3a52dee 100644 --- a/lib/task.rb +++ b/lib/task.rb @@ -10,6 +10,7 @@ module OpenTox def self.create service_uri, params={} # TODO set/enforce request uri + # TODO: run observer in same process? task = Task.new RestClientWrapper.post(service_uri,params).chomp pid = fork do begin |