Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!gem.mps.ohio-state.edu!ginosko!uunet!mcvax!nikhefh!a20 From: a20@nikhefh.hep.nl (Marten Terpstra) Newsgroups: comp.lang.c Subject: "system()" system call Keywords: system call, strange error ... Message-ID: <239@nikhefh.hep.nl> Date: 22 Aug 89 11:09:56 GMT Organization: Nikhef-H, Amsterdam (the Netherlands). Lines: 34 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, -- Marten Terpstra email : terpstra@nikhef.nl NIKHEF-H (National Institute for Nuclear and High Energy Physics) Amsterdam ----------------------------------------------------------------------------- -- Workers of the world arise, you have nothing to loose but your chairs ! --