Yes, Thank you.. not very smart on my part, after I posted I realized that I did not have firefox installed on this system.
I did get it to open a page, however, it caused a new problem.
It opens a browser window but then I get an error saying "Perl command line interpreter has stopped working" and it closes out my program.
below is the call that I make (please note that I set this code just to test it working so please bare with the hardcoding of the link and such)
$tmp_label = $table->Button(-image => $D_Image, -borderwidth=>0, -cur
+sor=>'hand1', -command=>[\&NewOrders]);
sub NewOrders {
$pid = fork();
if ($pid == 0) { execute(system "start http://www.yahoo.com"); exit(0)
+;}
}
Anyone know why it is crashing out my perl? I believe I have it forked properly??
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.