Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #83311 > unrolled thread
| Started by | Ganesh Pal <ganesh1pal@gmail.com> |
|---|---|
| First post | 2015-01-08 07:30 +0530 |
| Last post | 2015-01-08 07:30 +0530 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Playing with threads Ganesh Pal <ganesh1pal@gmail.com> - 2015-01-08 07:30 +0530
| From | Ganesh Pal <ganesh1pal@gmail.com> |
|---|---|
| Date | 2015-01-08 07:30 +0530 |
| Subject | Playing with threads |
| Message-ID | <mailman.17458.1420682449.18130.python-list@python.org> |
[Multipart message — attachments visible in raw view] — view raw
Hi friends, I'm trying to use threads to achieve the below work flow 1. Start a process , while its running grep for a string 1 2. Apply the string 1 to the command in step 1 and exit step 2 3. Monitor the stdout of step1 and print success if the is pattern found Questions: 1. Can the above be achieved without threads ? I prefer keep ing code simple .threads can become confusion when this workflow grows larger Regards, Ganesh
Back to top | Article view | comp.lang.python
csiph-web