hi.
Does the BKGND option in EXEC work well on NT? I am trying to call a vortex file using
<EXEC BKGND c:\www\cgi-bin\texis.exe myscript>
</EXEC>
I have tested the same code on solaris. It seems like on Sorais it works the way it supposed to.. but On NT4.0 it waits until the script is run even though BKGND option is there. Is there a setting on NT that I need to look at?
Vortex versions prior to April 2001 may not properly background <EXEC BKGND> tasks under Windows NT. You can try to work around this with the "start" command to explicitly background a task:
however this probably still won't work if run from a CGI environment due to handles inherited from the web server. Another option might be to explicitly schedule the script in the background, or run a watchdog script in the background (from the command line) that checks a table every few seconds for commands to run: then the script which wants to <EXEC> something can insert its command line into the table, and the watchdog script will run it.
Currently we are running March 2001 version. Is the April 2001 version backward compatible? Do we need to recreate our databases on the new version? Can you guys gurantee that the EXEC BKGND function works perfect on the April 2001 version? The reason for my concern is that I was under the impression that BKGND has been functional since april 1997. Some of my important projects are on hold because of this issue.
The March and April 2001 versions are compatible; no database recreation is necessary or ever has been (upgrading from versions prior to Jan. 2001 may have required removal of SYSLOCKS however). Versions from April 25 2001 on may require the Texis Monitor to be restarted.
The April 2001 Windows NT version has the corrected <EXEC BKGND>.
Do you guys have a downloadable version of Texis(April 2001). We have purchased a maintenance agreement. We should be able to get free upgrades for a year. We also need the CD.
The syntax is correct, however it appears that cmd.exe does not run if backgrounded, even though other programs (such as texis) seem to work just fine.