472,993 Members | 3,197 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,993 software developers and data experts.

library to launch program in linux

Hi there,

I'm a new user. What library should I use so that I can launch program
in linux using python? Thank you in advance.

Sep 6 '07 #1
5 1379
On 2007-09-06, id**********@gmail.com <id**********@gmail.comwrote:
I'm a new user. What library should I use so that I can launch
program in linux using python? Thank you in advance.
subprocess

--
Grant Edwards grante Yow! Hello, GORRY-O!!
at I'm a GENIUS from HARVARD!!
visi.com
Sep 6 '07 #2
In message <ma*************************************@python.or g>, Laszlo Nagy
wrote:
Grant Edwards wrote:
>On 2007-09-06, id**********@gmail.com <id**********@gmail.comwrote:
>>I'm a new user. What library should I use so that I can launch
program in linux using python?

subprocess
Hmm, there are some others...
subprocess subsumes them all.
Sep 7 '07 #3
On 2007-09-07, Lawrence D'Oliveiro <ld*@geek-central.gen.new_zealandwrote:
In message <ma*************************************@python.or g>, Laszlo Nagy
wrote:
>Grant Edwards wrote:
>>On 2007-09-06, id**********@gmail.com <id**********@gmail.comwrote:

I'm a new user. What library should I use so that I can launch
program in linux using python?
subprocess
Hmm, there are some others...

subprocess subsumes them all.
And someday soon, subprocess will RULE THE WORLD! BWA-HAHAHAHAH!

--
Neil Cerutti
Sep 7 '07 #4
On Sep 7, 2:49 am, Grant Edwards <gra...@visi.comwrote:
On 2007-09-06, idzwan.ni...@gmail.com <idzwan.ni...@gmail.comwrote:
I'm a new user. What library should I use so that I canlaunch
programin linux using python? Thank you in advance.

subprocess

--
Grant Edwards grante Yow! Hello, GORRY-O!!
at I'm a GENIUS from HARVARD!!
visi.com
can you please show me the sample code using subprocess library. I
would like user to have few option, program they could run. say,
firefox and x chat. thank you

Sep 12 '07 #5
On 2007-09-12, id**********@gmail.com <id**********@gmail.comwrote:
>>I'm a new user. What library should I use so that I canlaunch
programin linux using python? Thank you in advance.
can you please show me the sample code using subprocess library.
http://docs.python.org/lib/module-subprocess.html
I would like user to have few option, program they could run.
say, firefox and x chat.
I'd like to be 15 years younger.

--
Grant Edwards grante Yow! I'm definitely not
at in Omaha!
visi.com
Sep 12 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: nushin | last post by:
Try to launch a test program that prints hello world for a minute or so using, spawnv( ) or spawnl( ). Check to see the process state code that the program is running. I am using RedHat Linux 7.3...
1
by: Bartlomiej Borowicz | last post by:
of course a read instrucitio and i did everythink, but i still can't use that library :( --- Setting up Dev-C++ to build Allegro Some people prefer to use the Dev-C++ distribution to make...
50
by: Romeo Colacitti | last post by:
Is the C library of most OSes (i.e, unix type OSes) implemented at the very low kernel or just outside kernel level? Looking through the source tree of Linux/BSDs it seems like the C library is...
4
by: cyshao | last post by:
Why Windows doesn't allow to launch daemon/service in command line ?? Unix/Linux can simply do that....
11
by: Eigenvector | last post by:
I apologize if this is a trivial question, but it's always made me wonder when I have to compile my code. There are some #includes that you don't really need to reference in your library and...
6
by: Even | last post by:
Hi all, As far as I know, relative address will be assigned by program at link time.Right? Ok, here we go. So if we use a static library, it will give the program an relative address(i mean...
8
by: r0g | last post by:
Hi There, I'm trying to migrate a locally hosted page from windows to a private Ubuntu development server and one of the key bits of functionality (which used to work fine in Windows) was the...
5
by: Guillaume Dargaud | last post by:
Hello all, I can launch an external program using system() or the exec() family of calls. But I'm under the impression that I then can't kill that process using standard C functions. kill() is...
7
by: Samuel A. Falvo II | last post by:
I have a shell script script.sh that launches a Java process in the background using the &-operator, like so: #!/bin/bash java ... arguments here ... & In my Python code, I want to invoke...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
3
SueHopson
by: SueHopson | last post by:
Hi All, I'm trying to create a single code (run off a button that calls the Private Sub) for our parts list report that will allow the user to filter by either/both PartVendor and PartType. On...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.