summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-02-24 23:36:21 +0100
committerhut <hut@lavabit.com>2013-02-24 23:36:21 +0100
commite483afd056edf4b8963ca095ea44155e5d61be57 (patch)
treefdaec52ee94cbe7070bae9a96dd81fba2336a88f /ranger
parent68ed390d61d3ef6a6dc88bed44c0c1e98216e051 (diff)
downloadranger-e483afd056edf4b8963ca095ea44155e5d61be57.tar.gz
removed unused lib ranger.ext.run_forked
Diffstat (limited to 'ranger')
-rw-r--r--ranger/ext/run_forked.py25
1 files changed, 0 insertions, 25 deletions
diff --git a/ranger/ext/run_forked.py b/ranger/ext/run_forked.py
deleted file mode 100644
index f8dd2642..00000000
--- a/ranger/ext/run_forked.py
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright (C) 2012-2013  Roman Zimbelmann <hut@lavabit.com>
-# This software is distributed under the terms of the GNU GPL version 3.
-
-import os
-import subprocess
-
-def Popen_forked(*args, **kwargs):
-    """Forks process and runs Popen with the given args and kwargs.
-
-    If os.fork() is not supported, runs Popen without forking and returns the
-    process object returned by Popen.
-    Otherwise, returns None.
-    """
-    try:
-        pid = os.fork()
-    except:
-        # fall back to not forking if os.fork() is not supported
-        return subprocess.Popen(*args, **kwargs)
-    else:
-        if pid == 0:
-            os.setsid()
-            kwargs['stdin'] = open(os.devnull, 'r')
-            kwargs['stdout'] = kwargs['stderr'] = open(os.devnull, 'w')
-            subprocess.Popen(*args, **kwargs)
-            os._exit(0)
6:02 -0400 Add sorting functionality' href='/akspecs/aerc/commit/worker/lib/sort.go?id=90d26da58a4af2d34328f5916adf3781222966c6'>90d26da ^
e8b7b3b ^
90d26da ^
e8b7b3b ^


90d26da ^
e8b7b3b ^
90d26da ^





e8b7b3b ^
90d26da ^



90d26da ^








90d26da ^
e8b7b3b ^




















c846307 ^
e8b7b3b ^




90d26da ^


e8b7b3b ^
90d26da ^












e8b7b3b ^



90d26da ^


90d26da ^


e8b7b3b ^
90d26da ^






e8b7b3b ^


90d26da ^


90d26da ^






90d26da ^




e8b7b3b ^
90d26da ^
e8b7b3b ^


90d26da ^
e8b7b3b ^
90d26da ^

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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152