warning: executable? does not in this environment and will return a dummy value
I face this warning in java5 when executing command in system("command/shell script"). as the system usually check if the shell script is executable or not.
and java5 is required anyway for my application . So did the below changes to avoid the warning.
Before : system("shell Script")
After : output=`#{command}`
I face this warning in java5 when executing command in system("command/shell script"). as the system usually check if the shell script is executable or not.
and java5 is required anyway for my application . So did the below changes to avoid the warning.
Before : system("shell Script")
After : output=`#{command}`
No comments:
Post a Comment