| View previous topic :: View next topic |
| Author |
Message |
garfwen Halfop
Joined: 12 Mar 2008 Posts: 61
|
Posted: Wed Apr 22, 2009 10:53 am Post subject: Exec cmd shell by eggdrop |
|
|
Hello
Im trying to exec a command by eggdrop.
my eggdrop directory:
/home/hl/eggdrop
And im trying to:
gzip ~/steam/cstrike/err.dem
(err.dem is located as /home/hl/steam/cstrike/err.dem)
| Code: |
set fp [open "| gzip ~/steam/cstrike/err.dem"]
set data [read $fp]
putlog $data
close $fp
|
Getting this error:
gzip: ~/hltv1/cstrike/err.dem: No such file or directory
Any idea :\ ? |
|
| Back to top |
|
 |
garfwen Halfop
Joined: 12 Mar 2008 Posts: 61
|
Posted: Wed Apr 22, 2009 10:58 am Post subject: |
|
|
Oupps
| Code: |
set fp [open "| gzip /home/hl/steam/cstrike/err.dem"]
|
Fixed. |
|
| Back to top |
|
 |
tomekk Master

Joined: 28 Nov 2008 Posts: 255 Location: Oswiecim / Poland
|
|
| Back to top |
|
 |
|