Home
hacking
tournaments
projects
friends
Help
Search
Login
Register
May 23, 2012, 01:10:53 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
THC is up and running !
allowTransparency="true">
advertisement:
Tools & Design: Hack Challenges Tournaments & Scripts
>
Hacks and Cracks
>
Scene Related Questions
>
Running Python script from another script(windows)
Pages: [
1
]
« previous
next »
Print
Author
Topic: Running Python script from another script(windows) (Read 202 times)
TingleBell
The Seed
Newbie
Karma: +572/-0
Posts: 18
thc title: 3t3rn4l n00b
thc points: 0
challenges: (0/83)
Running Python script from another script(windows)
«
on:
February 05, 2009, 03:20:33 PM »
Facebook Share
I'm trying to execute a python script from another python script as a new process. I tried the os module spawn functions but no joy, I managed to create it in Linux, but how can I get it to work on Windows???
Logged
/care
zomgwtfbbq
Challenge Coder
Administrator
Hero Member
Karma: +31340/-1
Posts: I am a geek!!
thc title: thc elite
thc points: 3315
challenges: (69/83)
Running Python script from another script(windows)
«
Reply #1 on:
February 05, 2009, 03:33:39 PM »
Facebook Share
As far as I know you can fix this in at least two ways:
Code:
child = subprocess.Popen("python script2.py", shell=True)
... or using the subprocess module:
Code:
import subprocess
child = subprocess.Popen("script2.py")
Logged
only registered users with at least 25 hack challenge points can see links:
click here in order to visit the hack challenges
Ook al ben ik een slet toch houdt ik van je..
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Hacks and Cracks
-----------------------------
=> Hacker Playground
===> web_security
===> decompile
===> hidden
===> other
===> miscellaneous
===> realistic
===> penetrate
===> get_the_pass
===> think
===> programming
===> Challenge Articles
=> Hack and Crack Tools
===> Exploits
===> Latest Tools and Files
===> Hacking RSS Tutorials
===> Latest Web Proxies
===> Online Tools
===> Cheatsheets
===> Hacking Courses + Tutorials
===> Hack Tool Releases
===> Keyloggers and keylogging
===> Cracking Tools
===> Wardriving and Wireless Network Hacking
===> Network Sniffers
===> Network Scanners
===> Remote Administration Tools
===> Miscellaneous Hacking Tools
=> Hacking, Coding and Photoshop competitions and tournaments
=> Scene Related Questions
=> Software
=> Torrents
=> Nulled Scripts
-----------------------------
Design
-----------------------------
=> Plug-ins
=> Poser
=> Design Tutorials
=> Templates
=> Icons
=> Footages and Intros
-----------------------------
Education
-----------------------------
=> E-Books
=> Training Courses
-----------------------------
Paid Subscriptions
-----------------------------
=> Downloads
=> Answers
-----------------------------
Off-topic
-----------------------------
=> General
=> Personal scripts
=> Site ideas
=> Introduce yourself
=> Bugs
-----------------------------
News
-----------------------------
=> Security News
=> Internet News
Related Topics
Subject
Started by
Replies
Views
Last post
RSS: QuickRecon: A Simple Information Gathering Python Script!
Hack Tool Releases
zomgwtfbbq
0
127
February 06, 2011, 11:56:06 AM
by
zomgwtfbbq
RSS: D3D Perfect Skin - Poser Python Script
Poser
zomgwtfbbq
0
113
September 25, 2010, 11:46:38 AM
by
zomgwtfbbq
Loading...