Hi Patrick,

I forgot to mention that we currently use the old RUNRMTCMD to execute the batch file on the Windows server and it runs without a problem.

Thank you for your suggestion.  I'll start thinking about how to accomplish that.

Regards,
Bobby


On 09/23/20 03:19, Patrik Schindler wrote:
Hello Bobby,

Am 22.09.2020 um 22:46 schrieb Bobby Adams <bobby_adams@xxxxxxx>:

Does it sound reasonable that the window is the problem?
Maybe?

Did this ever work before?

As I understand, the i has a wrkscde which somehow *sends* a File to a Windows machine, and then uses ssh to start an application handling that file. Correct?

If the vendor refuses to make the program run "quietly" in a text-only environment, the only option you have is to reimplement the program start by local means on the Windows machine. I'm no Windows guy, but that's how I'd try it:

- Run the upload as already working,
- Upload/create a zero byte file on the windows machine as "you may run now" flag.

The Windows machine "constantly" runs a program which looks if the flag file exists. If yes, create a lock file (just a flag again, to prevent the process from running twice), and delete the run file. Now run the "misbehaving" program locally, check return value after finishing, and delete the lock file.

Add some "spicing" (error handling, helpful messages put into a log file for debugging purposes, etc).

:wq! PoC

PGP-Key: DDD3 4ABF 6413 38DE - https://www.pocnet.net/poc-key.asc




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.