| nanonyme | true |
| Speusipo | someone here has even written a perl module? |
| Jmax | you'd need to use kernel-level hooks. which is very platform-specific no, never written one what's a perl module? |
| Khisanth | JBond2: Proc::ProcessTable |
| maasha | anyone use Bit::Vector? |
| JBond2 | thanks that's great |
| pstickne | you could just access /proc information through normal IO (which makes *ix great) for the systems that support it.... of course that "systems that support it" is kinda limmitting ;) |
| Jmax | Proc::ProcessTable doesn't seem to work on straight windows |
| revdiablo | I'm a fan of crooked windows |
| action | maasha kicks revdiablo |
| maasha | kicks revdiablo (take that :o) |
| JBond2 | AS I learned so far, is that there is no portable way to do so |
| Jmax | there might be sometihng in the Win32 namespace, but highly doubtful |
| revdiablo | Win32::API? ;) |
| simcop2387 | GumbyBRAIN: trojan! |
| GumbyBRAIN | I've never gotten a trojan ? |
| SeveredCross | Hum. I'm trying to write a short script and need to access a commandline program--however, the commandline program requires root access to be run. Is there any way to pass my password out to sudo or something similar? I know it's a security risk, but the file won't be going anywhere but my hard drive. Hmm. Looks as if I may not necessarily need to do so anyway. |
| Zoffix | GumbyBRAIN, go to sleep |
| GumbyBRAIN | '+ new api' by eriam. |
| SeveredCross | As long as I've used sudo at least once in the terminal before running my script. |
| ology | It's a timed thing, not "at least once before" It's == sudo, that is |
| crunge | SeveredCross: http://search.cpan.org/~landman/Sudo-0.21/lib/Sudo.pm |
| ew73 | Why not sudo perl yourscript.pl |
| SeveredCross | ew73: It's running from within Xchat. Thanks crunge. |
| ew73 | root and irc rarely go well together. ;) |
| crunge | (satisfied customer)++ |
| SeveredCross | ew73: It doesn't do anything dangerous, heh. Just calls hddtemp Which doesn't seem to be able to read stuff off of my hard drive unless it runs as root. Which IMO is terribly strange, but c'est la vie. |
| crunge | SeveredCross: have you looked to see if the info is available via /proc? |
| SeveredCross | I have, I can't find it. It's my HDD's temperature. |