Hi
On Tue, 20 Nov 2001, Randy Higginbotham wrote: > > Nevermind... OK > > $pgp_comand = "$pgp_path -r \"$pgp_public_key_user_id\" -at -o $output_file > >/dev/null > > creates the unwanted output, and > > $pgp_comand = "$pgp_path -r \"$pgp_public_key_user_id\" -at > $output_file > > Does not. What's the problem? this is apparently a solution.... so (?) > > Any ideas? Sure, you _could_ use close(STDOUT).... to get rid of both wanted and unwanted output or use $old_handle = select(VOID) # VOID should be an unassigned filehandle unless # you want to write the output to a file or something # like that. ## Do the stuff that generates the unwanted output, select($old_handle); # get back your old STDOUT, good luck, > > Randy Jan-Willem > > -----Original Message----- > From: Randy Higginbotham [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 20, 2001 11:39 AM > To: [EMAIL PROTECTED] > Subject: getting output to stdout and browser not wanted > > > When I do the following from a modified version of Matt Wright's FormMail.pl > script: > > close (PGPCOMMAND); > > I get the following output to stdout and the browser window that I don't > want: > > Creating output file <fills_in_the_file_name> > > Anyone know how to turn this off? > > > Thanks > > Randal Newby > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]