SPONSORS:






User Tag List

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Dec 2001
    Posts
    9
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Script hangs when called from C++ app

    Hello -- I have a script that checks several of our company's web sites. I have a written a small C++ application that I intended to have run the script every 30 minutes, then parse the log file looking for errors and sending e-mail about any errors.

    When I run the script from within Silk, it functions perfectly. But, when I call it from the C++ app, it hangs. Silk loads, but the script hangs at the point that the dialog box says "Setting Agent Options." I am attempting to call the script with the command line:
    c:\program files\segue\silktest\partner.exe -q -r c:\silkscripts\accept01.t

    Any ideas or hints would be greatly appreciated!

    Thanks, and Merry Christmas.



    ------------------

  2. #2
    Senior Member
    Join Date
    Jul 2001
    Location
    Westford, MA, USA
    Posts
    160
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Script hangs when called from C++ app

    did you try booting agent.exe before booting partner.exe?

    ------------------


    [This message has been edited by agroves (edited 01-02-2002).]

  3. #3
    Junior Member
    Join Date
    Dec 2001
    Posts
    9
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Script hangs when called from C++ app

    Please forgive my lack of knowledge, I am pretty much learning this on my own. How do you boot agent.exe? My app is not doing anything with Silk other than passing the command line in my original message.

    ------------------

  4. #4
    Senior Member
    Join Date
    Jul 2001
    Location
    Westford, MA, USA
    Posts
    160
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Script hangs when called from C++ app

    Your agent.exe is in the same program directory that your partner.exe is in. I didn't try this from within C++, but I did try the command-line argument you suggested, and I got better results booting the agent (agent.exe) first, before the silktest gui (partner.exe). also, you indicated that you were hanging when silktest was trying to set agent options, so this looked like a good bet.

    ------------------

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 07:15 PM.

Copyright BetaSoft Inc.