|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re: How to detect X?by Zaxo (Archbishop) |
| on Feb 21, 2005 at 03:58 UTC ( [id://432978]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
You could simply try the X version first. If the X server fails to appear, exec returns with an error -- the only way exec can return. Then try the command-line version.
After Compline,
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||