diff options
author | Eric Wong <e@80x24.org> | 2015-12-20 11:14:14 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-12-20 11:16:34 +0000 |
commit | 9729f457a7ece348f8ae0ab5a9e1e326ffc5638e (patch) | |
tree | 23bc66d71d44347edc1ebc83abf2f7ed39455c40 /bin | |
parent | f0c68b38334e5cf19f53c2358c95971e737e2af6 (diff) | |
download | dtas-9729f457a7ece348f8ae0ab5a9e1e326ffc5638e.tar.gz |
Our spawn fix does not cover singleton dispatch from the Process class; only bareword "function" calls.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/dtas-readahead | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/dtas-readahead b/bin/dtas-readahead index 798a5b4..a4664ad 100755 --- a/bin/dtas-readahead +++ b/bin/dtas-readahead @@ -95,9 +95,9 @@ def do_ra(fp, pos, w) pp({start_ra: File.basename(path), len: '%.3f' % (len / (1024 * 1024.0)), pos: pos }) - Process.spawn('soxi', path, @redir) - Process.spawn('avprobe', path, @redir) - Process.spawn('ffprobe', path, @redir) + spawn('soxi', path, @redir) + spawn('avprobe', path, @redir) + spawn('ffprobe', path, @redir) fp.advise(:sequential, pos, len) Thread.new(fp.dup) { |d| d.advise(:willneed, pos, len); d.close } |