about summary refs log tree commit diff stats
path: root/code
diff options
context:
space:
mode:
Diffstat (limited to 'code')
-rw-r--r--code/runcontext.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/code/runcontext.rb b/code/runcontext.rb
index aceccb99..882a10ef 100644
--- a/code/runcontext.rb
+++ b/code/runcontext.rb
@@ -126,6 +126,12 @@ class RunContext
 		return x
 	end
 
+	def dont_run_in_background
+		if @detach and !@new_term
+			self.flags += ['D']
+		end
+	end
+
 	def base_flags=(x)
 		newflags = (x.is_a? Array) ? x : x.split(//)
 
c/tvarious1.nim?h=devel&id=2c146445bcb38dbd17f9988d60efc354a20c2d5b'>2c146445b ^
a690e7b26 ^


2c146445b ^
a690e7b26 ^
2c146445b ^
a690e7b26 ^
2c146445b ^
a690e7b26 ^












ebe313e62 ^


e80465dac ^

ebe313e62 ^
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