Re: [fpc-pascal] Exec(), Linux, and /dev/null redirection

2010-02-16 Thread cobines
2010/2/17 Zitt Zitterkopf : > Exec( '/bin/mount', '/dev/'+ aline +' /media/' + aline + ' &> /dev/null'); Try: Exec( '/bin/mount', '/dev/'+ aline +' /media/' + aline + ' 1>/dev/null'); for redirecting STDOUT or Exec( '/bin/mount', '/dev/'+ aline +' /media/' + aline + ' 2>/dev/null 1>/dev/null');

[fpc-pascal] Exec(), Linux, and /dev/null redirection

2010-02-16 Thread Zitt Zitterkopf
I'm cross developing a program in free pascal running FreeVision. When running under Linux / Busybox; I'm attempting to mount a device to scan it for a set of files. Since I'm running a TUI (Text User Interface); I cannot have the BusyBox mount command printing failure information to the screen

[fpc-pascal] Re: fpc-pascal Digest, Vol 68, Issue 19

2010-02-16 Thread Justin Smyth
Michael, Your right let me clear this up , its really two classes i'm having issues with , TReader is only missing ReadStr - i have replaced the call with readstring as for the readvalue seems ok it now compiles OK. - readvalue exists in TReader TWriter is only missing WriteStr & WriteValue