process tag

15 questions


1 answers
90 views
0
An error occurs when passing a string to subprocess.Poven using the stdin factor.

import subprocessfrom cStringIO import StringIOsubprocess.Popen(['grep','f'],stdout=subprocess.PIPE,stdin=StringIO('one\ntwo\nthree\nfour\nfive\nsix\n')).communicate()[0]Traceback (most recent call la...

2 years ago

2 answers
104 views
0
I want to tell you what kind of game I'm playing right now.

We are developing a child protection program.What kind of games your child is playing in this program and preventing them from playing games I'd like to develop a function.A child protection program g...

2 years ago

1 answers
107 views
0
How to run Python Unix commands...

Hi, how are you? I'm Parin, who recently introduced Python.Result value tldextract [result] | sort | uniq | grep.com | tr -d'',Like this twitter com weheartit com www facebook comwww pinterest comwww ...


1 answers
140 views
0
On Android, thread, multi-reading, process relationships and definitions

Hi, how are you?I'm leaving a question to see if you understand the thread and process.From what I understand now, I think I will express the thread and process as follows.Is there anything I misunder...


1 answers
86 views
0
Using nodejs child_process spawn

I want to run the following code in nodejs.$ gcc test.c$ $ ./a.out < inputfile.txtSo I wrote the following code.var gpp = spawn('g++', ['test.cpp']);var run = spawn('./a.out', ['< input.txt']);v...

2 years ago

1 answers
83 views
0
I have to kill the ubuntu zombie process, but I can't tell which one is the zombie processㅜㅜ

I don't know the ubuntu server at all, but first of all, I typed ssh [use name] in the office and I'm touching the batch file in crontab. But I heard that there is a zombie process that can take a lot...

2 years ago

1 answers
75 views
0
Executing External Commands with Python

How do I run an external command that I write from a unix shell or window command prompt?


1 answers
79 views
0
When running with Python subprocess. There is an error because only the local library is loaded.

I made an anaconda python 2.7 virtual environment and am interpreting it.As a subprocess module curl process method a.If you run the py file... I didn't write an anaconda environment library, but I co...

2 years ago

1 answers
98 views
0
I have a question about using Python subprocess.

As far as I know, the subprocess runs another py file, but when I actually run A1.py, only the B1.py file opens and Hello does not print out on A1's screen. I went to the console and tried putting pyt...

2 years ago

1 answers
83 views
0
There is an error in the import 도와 Please help me!

Input Code from scapy.all import*Error File sniffer0_with_scapy.py, line 1, in from scapy.all import* File C:\python\lib\site-packages\scapy\all.py, line 16, in from .arch import * File C:\python\lib...

2 years ago
- 1 - »

© 2024 OneMinuteCode. All rights reserved.