On 26Sep2017 04:48, Kryptxy wrote:
Here -
p = subprocess.Popen(["transmission-gtk", link], stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
output, error = p.communicate()
Peter> That"s the problem. communicate() *must* block to collect the program"s
Peter> entire output. You get what you ask
> Original Message
> Subject: Re: Running a GUI program haults the calling program (linux)
> Local Time: 26 September 2017 1:26 PM
> UTC Time: 26 September 2017 07:56
> From: __pete...@web.de
> To: python-list@python.org
>
> Kryptxy via Python-li
Kryptxy via Python-list wrote:
> Sent with [ProtonMail](https://protonmail.com) Secure Email.
>
>> Original Message
>> Subject: Re: Running a GUI program haults the calling program (linux)
>> Local Time: 26 September 2017 12:09 PM
>> UTC Time: 26 S
On 25Sep2017 20:38, Kryptxy wrote:
I want to run a GUI program (transmission-gtk) from python. This is what I do:
import subprocess
subprocess.Popen(['transmission-gtk', link], stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
Where `link` is some magnetic link.
This command opens transmission
Sent with [ProtonMail](https://protonmail.com) Secure Email.
> Original Message
> Subject: Re: Running a GUI program haults the calling program (linux)
> Local Time: 26 September 2017 12:09 PM
> UTC Time: 26 September 2017 06:39
> From: c...@cskk.id.au
> To:
Sent with [ProtonMail](https://protonmail.com) Secure Email.
> Original Message
> Subject: Re: Running a GUI program haults the calling program (linux)
> Local Time: 26 September 2017 6:20 AM
> UTC Time: 26 September 2017 00:50
> From: ros...@gmail.com
> To: p
On 25Sep2017 20:59, Michael Torrie wrote:
On 09/25/2017 06:38 PM, Kryptxy via Python-list wrote:
Is there any way that the GUI program is opened, and immediately the
control returns to calling program, instead of keeping the terminal
busy?
Yes. This is a classic situation where you want to fi
On 09/25/2017 06:38 PM, Kryptxy via Python-list wrote:
> Is there any way that the GUI program is opened, and immediately the
> control returns to calling program, instead of keeping the terminal
> busy?
Yes. This is a classic situation where you want to first fork() the
process, then exec() the n
On Tue, Sep 26, 2017 at 10:38 AM, Kryptxy via Python-list
wrote:
> I want to run a GUI program (transmission-gtk) from python. This is what I do:
>
> import subprocess
> subprocess.Popen(['transmission-gtk', link], stdout=subprocess.PIPE,
> stderr=subprocess.PIPE)
>
> Where `link` is some magneti
I want to run a GUI program (transmission-gtk) from python. This is what I do:
import subprocess
subprocess.Popen(['transmission-gtk', link], stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
Where `link` is some magnetic link.
This command opens transmission-gtk, but it haults the calling progra
10 matches
Mail list logo