Results 1 to 3 of 3
Hi All,
I am new to the linux os. I am trying to create a batch script or shell script but i am having some difficulties in run it. I ...
- 08-07-2009 #1Just Joined!
- Join Date
- Jun 2009
- Posts
- 12
Shell scripting
Hi All,
I am new to the linux os. I am trying to create a batch script or shell script but i am having some difficulties in run it. I am able to run individual line in cmd prompt but when i run it in shell script .sh it gives an error. i have pasted script below and error too..
************************************************** **************
#!/bin/sh
"./lencod.exe -f BLOOM_320x240.cfg -p QPISlice=9 -p QPPSlice=9 -p QPBSlice=9 -p ReconFile ="Bloom_rec_qp9.yuv"> outBloom_qp9.yuv"
echo "Done."
************************************************** ***************
and error i am getting is
>>> ./run.sh
: No such file or directoryexe -f BLOOM_320x240.cfg -p QPISlice=9 -p QPPSlice=9 -p QPBSlice=9 -p ReconFile =Bloom_rec_qp9.yuv
Done.
Both lencod.exe and Bloom_rec_qp9.yuv are in the same file of run.sh
thanks
fido
- 08-07-2009 #2
I assume this means you are trying to run on cygwin, since exe don't natively run on linux. Did you set the execute bit for the script so you can actually run it? Also, I would take it out the quotes at the beginning and end.
- 08-07-2009 #3Just Joined!
- Join Date
- Jun 2009
- Posts
- 12
No i am running on Redhat linux it is just the name i have named it like that it is still the binary file.......


Reply With Quote