matled (Matthias Lederhofer)
- Login: matled
- Email: matled@gmx.net
- Registered on: 04/08/2012
- Last sign in: 04/08/2012
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
04/08/2012
-
06:46 PM Ruby Bug #6269: Process.spawn does not work with Tempfile
- I find it a bit inconsistent that a Tempfile object is not supported,
as, for example, this code works without a problem:
Process.spawn("date", :out => File.open(tmp.path, "w"))
That is, it is supported to pass an IO/File obje... -
03:11 AM Ruby Bug #6269 (Closed): Process.spawn does not work with Tempfile
- The following code fails with an exception:
require 'tempfile'
tmp = Tempfile.new(File.basename($0))
Process.spawn("date", :out => tmp)
Exception: in `spawn': wrong exec redirect action (ArgumentError)
I would expe...