If you are using Jenda's Win32::Deamon::Simple, then test the global $CMDLINE. If not, look at the BEGIN block in that module for how he decides whether to set it true or false.
In reply to Re: Detecting forground and background process
by BrowserUk
in thread Detecting forground and background process
by astroboy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |