in reply to Capturing remote command output to a file

From what I have read system() only captures the exit code of what you are executing.
Have you tried backticks (` ` - under the escape key)? Edit: Nvm, I re-read your code. Try:
system("$CreateList[0] $CreateList[1] $CreateList[2] $CreateList[3] $C +reateList[4] > data/test.txt");

Replies are listed 'Best First'.
Re^2: Capturing remote command output to a file
by rycher (Acolyte) on Aug 18, 2009 at 00:11 UTC
    Duhhhh... Arrays have elements, who woulda thunk? ;-)

    Thanks josh097.