in reply to How to know if a perl script is put in the background

Why not just redirect the output yourself? # ./script.pl > /dev/null 2>&1

Replies are listed 'Best First'.
Re^2: How to know if a perl script is put in the background
by rapide (Beadle) on Nov 18, 2008 at 16:58 UTC
    Normally I would do that, but I'm creating scripts that is used by non-technical personnel.
    Their ability to find the '>' sign on the keyboard is limited :-)
      But typing shift-7 is so much harder than shift-. :) In the interest of simplicity, why don't you provide wrapper shell for the background:
      #! /bin/bash realProgram $* &> /dev/null &
      Then they don't have to mess with any of those pesky non-alphanumerics at all :)