Hi,

I just noticed that Windows has a problem with colons in file names. This
should work better if you're running under MS Windows (under linux, you can
disregard the modification):

REBOL []

forever [
  wait 60
  if error? set/any 'error try [ do %popreader.r ] [
    date: replace form now "/" "-"
    date: replace/all date ":" "."
    logfile: to file! join "error-" [date ".log"]
    save logfile mold disarm error
  ]
]



;- Elan [ : - ) ]

Reply via email to