Is it possible to put a parameter in the ExecCommand Activity Stage?
Thanks,
Fernando
parameter in the ExecCommand Activity Stage
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 142
- Joined: Wed Mar 24, 2004 10:51 am
- Location: Brazil
Yes you can. The command line needs to be an executable and not contain any parameters, but I've done something like make the command line "sh -c " and the command line options then contain "#JobParameterWithUNIXCommand#"
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
Be aware that - depending on your version and platform - they may not work. It can be confusing as heck to debug because the command will log correctly with the parameters fully expanded, but the actual command executed will still have the 'unexpanded' parameter name(s) in it.
Test it first.
Test it first.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
Craig - do you remember offhand which won't work? I tried it on AIX and it did work, and know I've done it successfully on Windoze in the past.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 142
- Joined: Wed Mar 24, 2004 10:51 am
- Location: Brazil
Thanks for that info; I'll keep that in mind next time I play on HP-UX.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
I have heard the same for the version 7.0. But fortunately, I haven't faced any such issue with the version so far.chulett wrote:I've had the problem here with HP-UX. Definitely saw it under 7.0.1, not sure I've checked again with 7.5.1A.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'