On 05/27/2013 04:33 AM, Luca Cerone wrote:
Will it violate privacy / NDA to post the command line? Even if we
can't actually replicate your system, we may be able to see something
from the commands given.
Unfortunately yes..
p1 = Popen(['nsa_snoop', 'terror_suspect', '--no-privacy', '-
thanks and what about python 2.7?
>
>
> In Python 3.3 and above:
>
>
>
> p = subprocess.Popen(..., stderr=subprocess.DEVNULL)
P.s. sorry for the late reply, I discovered I don't receive notifications from
google groups..
--
http://mail.python.org/mailman/listinfo/python-list
Luca Cerone wrote:
>>
>> That's because stdin/stdout/stderr take file descriptors or file
>>
>> objects, not path strings.
>>
>
> Thanks Chris, how do I set the file descriptor to /dev/null then?
For example:
with open(os.devnull, "wb") as stderr:
p = subprocess.Popen(..., stderr=stderr)
>
> That's because stdin/stdout/stderr take file descriptors or file
>
> objects, not path strings.
>
Thanks Chris, how do I set the file descriptor to /dev/null then?
--
http://mail.python.org/mailman/listinfo/python-list
On 29May2013 19:39, Thomas Rachel
wrote:
| Am 27.05.2013 02:14 schrieb Carlos Nepomuceno:
| >pipes usually consumes disk storage at '/tmp'.
|
| Good that my pipes don't know about that.
| Why should that happen?
It probably doesn't on anything modern. On V7 UNIX at least there
was a kernel noti
> From: nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa...@spamschutz.glglgl.de
> Subject: Re: Piping processes works with 'shell = True' but not otherwise.
> Date: Wed, 29 May 2013 19:39:40 +0200
> To: python-list@python.org
>
>
Am 27.05.2013 02:14 schrieb Carlos Nepomuceno:
pipes usually consumes disk storage at '/tmp'.
Good that my pipes don't know about that.
Why should that happen?
Thomas
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, May 26, 2013 at 4:58 PM, Luca Cerone wrote:
> Hi Chris, first of all thanks for the help. Unfortunately I can't provide the
> actual commands because are tools that are not publicly available.
> I think I get the tokenization right, though.. the problem is not that the
> programs don't
>
>
> Will it violate privacy / NDA to post the command line? Even if we
>
> can't actually replicate your system, we may be able to see something
>
> from the commands given.
>
>
Unfortunately yes..
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, May 27, 2013 at 9:58 AM, Luca Cerone wrote:
>> Could you provide the *actual* commands you're using, rather than the
>> generic "program1" and "program2" placeholders? It's *very* common for
>> people to get the tokenization of a command line wrong (see the Note box in
>> http://docs.py
auses of such error. Good luck!
> Date: Sun, 26 May 2013 16:58:57 -0700
> Subject: Re: Piping processes works with 'shell = True' but not otherwise.
> From: luca.cer...@gmail.com
> To: python-list@python.org
[...]
> I tried to redirec
> Could you provide the *actual* commands you're using, rather than the generic
> "program1" and "program2" placeholders? It's *very* common for people to get
> the tokenization of a command line wrong (see the Note box in
> http://docs.python.org/2/library/subprocess.html#subprocess.Popen for s
On May 24, 2013 7:06 AM, "Luca Cerone" wrote:
>
> Hi everybody,
> I am new to the group (and relatively new to Python)
> so I am sorry if this issues has been discussed (although searching for
topics in the group I couldn't find a solution to my problem).
>
> I am using Python 2.7.3 to analyse the
>
> Can you please help me understanding what's the difference between the two
> cases?
>
Hi guys has some of you ideas on what is causing my issue?
--
http://mail.python.org/mailman/listinfo/python-list
Hi everybody,
I am new to the group (and relatively new to Python)
so I am sorry if this issues has been discussed (although searching for topics
in the group I couldn't find a solution to my problem).
I am using Python 2.7.3 to analyse the output of two 3rd parties programs that
can be launche
15 matches
Mail list logo