Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to run IExplore as a background process in tcl?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi,
I'm writing a tcl script that will display its results as html in Internet Explorer. The script launches Internet Explorer but the call to exec blocks the script until I close the browser.
I've tried to add an & at the end of the exec row but then an error message like:
"couldn't duplicate output handle: bad file number"
is prompted. This is how my code looks like:

set browser "C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE"
#start the browser and show the results
exec $browser $html_file

The question is: How do I make my script go on after the launch of IEXPLORE.EXE on win2000?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top