in reply to Detect Environment
Then you can just click on it, it's never ambiguous, and you let the user control which one he wants if he wants to be specific.#!/bin/sh program --gui $*
Altenatively, you could accept --console and --gui to force one, and use heuristics if neither is specified.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Detect Environment
by JadeNB (Chaplain) on Dec 10, 2009 at 01:14 UTC |