Page 1 of 1

Avoid calling sh.exe

Posted: Wed Oct 08, 2014 6:55 am
by taylor.hermann
Hi,
This is somewhat of a jump off my old post, but a new topic in general.

viewtopic.php?t=153463

We've found out that "sh.exe" is causing issues and breaking jobs randomly. Is there a way to avoid calling it without switching to unix? Any ideas are appreciated.

Thanks,

Posted: Wed Oct 08, 2014 3:13 pm
by ray.wurlod
Depends. Why are you calling it?

Posted: Thu Oct 09, 2014 6:36 am
by taylor.hermann
Well..... That's what we are trying to figure out honestly. IBM told us setting "APT_PM_USE_STANDALONE_EXE = 1" would avoid calling it. But its still popping up in process explorer and is causing clients to crash and breaking jobs.

Posted: Thu Oct 09, 2014 7:17 am
by chulett
Then it seems you should continue to work with IBM, tell them they provided an incomplete (or incorrect) solution.

Posted: Thu Oct 09, 2014 7:35 am
by taylor.hermann
Yeah, we still are. They just have not been super helpful sadly. I figure I'd just try to exhaust as much resources as possible in the mean time.

Posted: Thu Oct 09, 2014 9:10 am
by chulett
I don't think the percentage of people running Windows servers is all that high out there so not sure how many people here could really help. Expecially with something odd like this. :(

Posted: Thu Oct 09, 2014 3:41 pm
by ray.wurlod
Track down whether it's you at fault. For example look for ExecSH as a before/after subroutine, look for DSExecute called with "SH" as the shell argument from your routines. If you eliminate these possibilities you have a stronger case to take back to IBM.

Posted: Fri Oct 10, 2014 7:19 am
by taylor.hermann
Neither one of these things are the case. This is the strangest error I've encountered :/