   else
     def_out = false
   err = null
-  await (new Engine { args, stdin, stdout, stderr, name }).run().wait defer err, rc
+  await (new Engine { args, stdin, stdout, stderr, name, opts}).run().wait defer err, rc
   if err and (rc isnt 0)
     eklass or= Error
     err = new eklass "exit code #{rc}"

##=======================================================================

exports.run = run = (inargs, cb) ->
  {args, stdin, stdout, stderr, quiet, name, eklass} = inargs

  if (b = bufferify stdin)?
    stdin = new stream.BufferInStream b

{spawn} = require 'child_process'
stream = require './stream'
os = require 'os'

##=======================================================================
