[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

maxlength string for exec?

From: Patrick Guio
Subject: maxlength string for exec?
Date: Wed, 22 Sep 2004 10:12:19 +0200 (CEST)

Dear all,

I have a bash script to wrap a compiler command (condor_compile).
Now it looks like if the string given as argument to exec is too long, the command is not executed properly.
I have attached the script. Running "exec-eval.sh exec2" or
"exec-eval.sh eval2" work fine, as well as "exec-eval.sh eval1" but not "exec-eval.sh exec1". The difference between eval[12] and exec[12] is the length of the command itself. It looks to me that exec is truncating the string cmd1. Any idea?

Cheers, Patrick

Attachment: exec-eval.sh
Description: Bourne shell script

reply via email to

[Prev in Thread] Current Thread [Next in Thread]