This is the Sesame code.
vAction="C:\Sesame\Utilities\SensibleSolutions\SesameTableView.exe /DatabaseTableView=tblRooms /MaximizeView=1"
WriteLn(vAction)
vOK=@AsynchShell(vAction)
When this is run, the cmd.exe black box stays open. Then I can manully close it with "X" in upper right corner. Then I get message that fille cannot be located. When that window is closed, then control comes back to Sesame.
This was copied from the WriteLn and pasted into Run....
C:\Sesame\Utilities\SensibleSolutions\SesameTableView.exe /DatabaseTableView=tblRooms /MaximizeView=1
When that is executed, there is no sign at all of the cmd.exe black box. Control comes back to Sesame immediately.
An image of error message, also showing WriteLn results can be seen
here. At this point I suspect this may be happening because of the "=" character in the paramaters that are being passed. The executable program takes its paramaters in the format /param1=value /param2=value, etc. Could have from 0-10 parameter values.
But it is strange that running manually from command line and running from the Run window causes no problem. So iit would seem that perhaps AsynchShell is using "=" as a delimiter before sending string on to Windows?
I should also mention that once the cmd.exe black box is closed and the error message is removed, that the executable does in fact run with its passed parameters.
I can also send the executable if you want to see this firsthand. But will need special instructions to create proper environment, etc.