Opened 9 years ago
Closed 9 years ago
#27838 closed Cleanup/optimization (invalid)
How to run a shell command concurrently from django server
| Reported by: | Vipin Chaudhary | Owned by: | nobody |
|---|---|---|---|
| Component: | Uncategorized | Version: | 1.10 |
| Severity: | Normal | Keywords: | Concurrency, subprocess, Shell commands |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description
Hi,
I am having a problem , i wanna know that how to run a bash script concurrently with server.
right now i am using subprocess.call() method with shell=True parameter, but by calling this my webpage wait to render the page untill that shell command ends, but i wanna call that process concurrently , how to do that ?
Note:
See TracTickets
for help on using tickets.
Please see TicketClosingReasons/UseSupportChannels for places to ask usage questions. This is ticket tracker is for reporting bugs and requesting features.