-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDECISION
More file actions
50 lines (48 loc) · 2.48 KB
/
DECISION
File metadata and controls
50 lines (48 loc) · 2.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
+-----------------------------------------------------------------------+
| I need to do something this module was not designed to do. |
+-----------------------------------------------------------------------+
| |
| |
+-----+ +----+
| Yes | | No |
+-----+ +----+
| |
| |
+---------------------+ +-----------+
| do not use shell, | | use shell |
| alternately modify | +-----------+
| shell and use it |
+---------------------+
+-----------------------------------------------------------------------+
| I need to run a single command and get the command I ran, it's pid, |
| return value, runtime and output (or some combination thereof). I |
| would like to do this with one line of code. It would be nice if the |
| results were returned in a sane and consistent manner. |
+-----------------------------------------------------------------------+
| |
| |
+-----+ +----+
| Yes | | No |
+-----+ +----+
| |
| |
+---------------+ +----------------------+
| use command() | | do not use command() |
+---------------+ +----------------------+
+-----------------------------------------------------------------------+
| I need to run multiple commands and get the commands I ran, their |
| pids, return values, runtimes and output (or some combination |
| thereof). I would like to do this with one line of code. It would be |
| nice if the results were returned in a sane and consistent manner. |
| Bonus if they are returned in order. Concurrency would be nice. |
+-----------------------------------------------------------------------+
| |
| |
+-----+ +----+
| Yes | | No |
+-----+ +----+
| |
| |
+---------------------+ +----------------------------+
| use multi_command() | | do not use multi_command() |
+---------------------+ +----------------------------+