473,394 Members | 1,715 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 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 1394
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.