Re: [tcljava-user] exec command failing in Jacl
Brought to you by:
mdejong
|
From: Mo D. <mo...@mo...> - 2009-09-18 20:17:31
|
Jared Hodge wrote:
>
> The problem you’re running into is because “2>/dev/null” is not a
> valid argument for the “find” command. Try instead:
>
> [exec /bin/bash -c “find ${WAS_DIR} -name ws_runtime.jar -print
> 2>/dev/null”]
>
Note that the redirect would not be an argument to the exec command in
Jacl, because Jacl does not support redirect options in the exec
command. Be sure that it goes to the script, and this will only work on
UNIX systems.
Mo
|