in reply to Re^7: System call doesn't recognise '>'
in thread System call doesn't recognise '>'

Both ways you describe work perfectly, but do not redirect the output.
  • Comment on Re^8: System call doesn't recognise '>'