madhuneal / ppss

Automatically exported from code.google.com/p/ppss
0 stars 0 forks source link

cannot execute binary file (first basic test) #59

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, 

I would like to try ppss :)
A made some tests, but all are FAILED :(
Always the sams error.. (cannot execute binary file) Is there something i 
forget?

What steps will reproduce the problem?
1. Create a file command.txt with

mkdir /tmp/toto.ben 1
mkdir /tmp/toto1.ben 2
mkdir /tmp/toto2.ben 3
mkdir /tmp/toto3.ben 4
mkdir /tmp/toto4.ben 5
mkdir /tmp/toto5.ben 6
mkdir /tmp/toto6.ben 7
mkdir /tmp/toto7.ben 8
mkdir /tmp/toto88.ben 9
mkdir /tmp/toto99.ben 10
mkdir /tmp/toto567.ben 11
mkdir /tmp/toto567.ben 12
mkdir /tmp/tot567o.ben 13
mkdir /tmp/toto57657.ben 14
mkdir /tmp/toto557.ben 15
mkdir /tmp/toto546.ben 16
mkdir /tmp/tot345o.ben 17

2.
./ppss -f command.txt -c 'bash $ITEM'

3. Nothing appen, view log :
All Failure are :

/bin/mkdir: /bin/mkdir: cannot execute binary file

What version of the product are you using? On what operating system?

Last version, on Debian Lenny

Please provide any additional information below.

Thanks !

Original issue reported on code.google.com by benoitge...@gmail.com on 10 Sep 2011 at 7:14

GoogleCodeExporter commented 9 years ago
This is not how PPSS should be used. Bash mkdir gives the same error as if you 
are trying the binary mkdir command to execute as a shell script, which is not 
possible. 

./ppss -f items.txt -c 'mkdir '

and items.txt contains:

/tmp/toto.ben
/tmp/tot1.ben
/tmp/toto2.ben

etc.

Original comment by Louwrentius on 26 Sep 2011 at 10:00

GoogleCodeExporter commented 9 years ago

Original comment by Louwrentius on 9 Oct 2011 at 9:55