Re: [spyder] How do I execute my script with sudo?

1,314 views
Skip to first unread message

Carlos Córdoba

unread,
Jan 14, 2013, 7:52:24 PM1/14/13
to spyd...@googlegroups.com
Hi Fotis,

"command line options" are options you want to pass to the Python
interpreter and won't let you run a script as root.

Here are a couple of suggestions that could help you to do it (on
Eclipse, but I think they should work on Spyder too):

http://stackoverflow.com/questions/981411/run-a-python-project-in-eclipse-as-root?rq=1

Cheers,
Carlos

El 13/01/13 18:19, Fotis Tsiadimos escribió:
> Hi,
> I am going to Run -> configure -> command line options and I want to
> write sudo to execute my script.
> How can I do this?
>
> Thanks.
> --
> You received this message because you are subscribed to the Google
> Groups "spyder" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/spyderlib/-/F75MTcQiU5IJ.
> To post to this group, send email to spyd...@googlegroups.com.
> To unsubscribe from this group, send email to
> spyderlib+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/spyderlib?hl=en.

Reply all
Reply to author
Forward
0 new messages