Ask a Question related to Ruby, Design and Development.

  1. #1

    Default redirect stdout

    I need to temporarily redirect standard output to nowhere. Not sure how to do.

    Suggestions?

    Thanks,
    -t0



    T. Onoma Guest

  2. Similar Questions and Discussions

    1. redirect to guest if first redirect is doesnt work for a user
      Hi all, I was wondering if anyone could help me solve a problem Once a user hits a certain webpage ..I try to redirect them to another using...
    2. nohup stdout
      i have an expect script "E" that telnets to a remote machine and runs a script "A" that in turn runs a script "B". B takes a long time to run and I...
    3. Redirect stdout, stderr to file and stdout
      I have a small script that does some admin work for me. What I need to do now is not only have is display information to STDERR and STDOUT but...
    4. Redirect to New Browser Window like Response.Redirect
      That worked just fine for me as long as you put that open statement on one line rather than 2. "michel" <michely3k@yahoo.com> wrote in...
    5. ftp client cannot redirect stdout in AIX5.2 ?
      Hi, Does anyone encounter the problem of ftp redirection in AIX5.2 ? I have a simple script like this: ===========================================...
  3. #2

    Default Re: redirect stdout

    /dev/null is as good a nowhere as any :-)

    Gavri Savio Fernandez
    ___________________________________________
    I wish outer space guys would conquer the Earth and make people their pets, because I'd like to have one of those little beds with my name on it. - Jack handy




    -----Original Message-----
    From: T. Onoma [mailto:transami@runbox.com]
    Sent: Monday, November 24, 2003 6:18 PM
    To: ruby-talk ML
    Subject: redirect stdout


    I need to temporarily redirect standard output to nowhere. Not sure how to do.

    Suggestions?

    Thanks,
    -t0



    Gavri Savio Fernandez Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139