Returning the return of a program to SF7

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • searcher123
    Forum Member
    • Jun 2007
    • 59

    Returning the return of a program to SF7

    Dear users,
    As you know, some programs return a value after running. What should I do to return this value to SF7 when run with File.Run() function?

    Best regards
  • Adam
    Indigo Rose Staff Member
    • May 2000
    • 2149

    #2
    The File.Run() action has a result variable that catches the return code.

    result = File.Run(blah blah blah)

    then result would hold the process return code.

    Adam Kapilik

    Comment

    • pww
      Indigo Rose Customer
      • Jun 2005
      • 470

      #3
      set WaitForReturn parameter to true

      retCode=File.Run("app.exe","","","",true);

      installer will wait app.exe to finish, and its exit code will be assigned to retCode

      Comment

      Working...
      X