Jump to content

Passing parameters back to program that called script


gblss
 Share

Recommended Posts

Is there a way to pass parameters back to the program that called a script. Example: we are calling a script that does a shellexecutewait. We are now creating a text file and writing the return codes (if the process failed), to that file but would like to receive the return code back to the program that called the script instead. Is this possible? We are calling the script from a cobol program. Thanks in advance for any advice.

Link to comment
Share on other sites

  • Developers

The helpfile contains the description for the Exit command. ;)

( in this case shellexecutewait).

Could be you need to compile "for console" on the aut2exe menu or use the following when using the full SciTE4Autoit3:

#AutoIt3Wrapper_Change2CUI=Y

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...