Hi everyone,
I'm writing a program in which I use the "system" system call.
(We use 4.3BSD)
I use it like this
extern int system();
int err;
err=system("mail -s subject user < file");
When I compile and run this program (of course this is not the
complete program) it executes the call perfectly but also
generates the error message :
Unknown command: "################################################"
What does this mean and does anyone know how to solve this ?
Normally it is no problem because it works OK but I want to use
the program in CRON and I don't want this message to appear every
15 minutes or so on the console.
Who can help me ?
Thanks,
--
NIKHEF-H (National Institute for Nuclear and High Energy Physics) Amsterdam
-----------------------------------------------------------------------------
-- Workers of the world arise, you have nothing to loose but your chairs ! --