www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/02/22/05:21:39

Date: Thu, 22 Feb 1996 12:03:15 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Brendan Simon <brendan AT rdt DOT monash DOT edu DOT au>
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: system() echo
In-Reply-To: <199602220135.MAA08555@helena.rdt.monash.edu.au>
Message-Id: <Pine.SUN.3.91.960222120006.804A-100000@is>
Mime-Version: 1.0

On Thu, 22 Feb 1996, Brendan Simon wrote:

> I use the sytem() call to invoke ghostscript to print to my bubble jet.
> Can I suppress the echoing of the call to the stio.
> 
> ie. It echos the command to the screen.  Can I suppress this ???

system() doesn't echo anything.  You can verify this by writing a 
throw-away program which just does `system ("dir")' or something.

I guess the batch file you call to invoke Ghostscript is the one that 
does the echo.  If that's true, just put @echo off there, or prepend a 
`@' to each line of the batch file.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019