[Gambas-user] Redirect to NULL with EXEC
A Person
kztyrvlq at ...966...
Wed Aug 24 04:55:21 CEST 2005
Wednesday, 24 August 2005
Good Day All . . .
Can someone point me in the right direction with a problem that I have
while using 1.0.10.
I want to use the EXEC command along with the redirect >NULL so that
some messages do not appear in the console window.
I have tried
EXEC [ "mount", "/harddrive" ] WAIT >NULL and
EXEC [ "mount", "/harddrive >NULL" ] WAIT and
EXEC [ "mount /harddrive", ">NULL" ] WAIT
but none work. All generate internal procedural errors.
I intend to mount a drive as root but first unmount it if already
mounted by a user. The 'nice to know' console messages read like,
"according to mtab the hard drive is not already mounted." These display
when the hard drive is unmounted and not already mounted.
I tried the error handling procedure TRY but the console messages still
display. They do not appear to be error messages but nice to know stuff.
Or
Can someone tell me a better way?
The whole program depends upon a solution. Later in the program, I
intend to use the EXEC cp command along with the >> redirect to send the
recursive copy info to a log file.
Thanks.
Paul
More information about the User
mailing list