lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Is it possible to
  local pipe = io.popen(command, 'rb')
and then get access to any stderr output it may produce ?

This comes from trying to translate from Python:
  pipe = subprocess.Popen(command, shell=True,
    stdout=subprocess.PIPE, stderr=subprocess.PIPE)
  midi =
  msg  =

Regards,  Peter Billam      (03) 6278 9410
"Was der Meister nicht kann,   vermöcht es der Knabe, hätt er
 ihm immer gehorcht?"   Siegfried to Mime, from Act 1 Scene 2