Thanks for the response, but it seems to have the same behavior as what I already have. What I want it basically to launch the browser in another process entirely, and the script should cease to care what becomes of that other process, finishing it's own execution and exiting normally, whether the browser is still open or not.
I tried it the way you specified, and I also tried it with
$processObject->Wait(0); just as a test, and it did the same thing both times... the script just sits and waits until the browser is finally closed by the user.
Any other ideas?
Update: OK, in my attempts, I was just adapting my script to use the same flags and such as yours, and added the Wait() command, and had no success. But when I run yours exactly as you sent it (except changing the path to Notepad to be consistent with Win9x), it works OK. There must be something up someplace else in my code. Thanks for the help, I guess I gotta jusy go through the rest of my script and find the inconsistency.
Hot Pastrami
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.