Velocity Reviews

Velocity Reviews (
-   Python (
-   -   Script (

zze-Support activite PCL RAMSI A ext DvSI/SIReS/LAN 08-04-2003 01:26 PM

Hello everybody,

I try to execute an ifconfig command in my python code using:
stat, wdsout = commands.getstatusoutput("./ " + interface + " "
+ ipadrr)

The executes the ifconfig command as:
Ifconfig $1 plumb && ifconfig $1 $2 netmawk up

this script is created by the root, and have 4755 as chmod.

When the script is executed by th root, it works normaly but when it's
launched from the python file it doesn't work:
and i have a Permission denied message.

Is something wrong in what I do?

Thanks in advance.

All times are GMT. The time now is 03:55 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.