3
3
#superclass : #Object ,
4
4
#instVars : [
5
5
' pythonMainFile' ,
6
+ ' debugMode' ,
6
7
' settings' ,
7
8
' workingDirectory'
8
9
],
@@ -13,7 +14,7 @@ Class {
13
14
PBAbstractProcess class >> application: application [
14
15
^ self
15
16
settings: application settings
16
- workingDirectory: ( PBPlatform current folderForApplication: application)
17
+ application: application
17
18
]
18
19
19
20
{ #category : #accessing }
@@ -23,7 +24,10 @@ PBAbstractProcess class >> platform [
23
24
24
25
{ #category : #accessing }
25
26
PBAbstractProcess class >> settings: settings application: application [
26
- ^ self settings: settings workingDirectory: (PBPlatform current folderForApplication: application)
27
+ ^ self
28
+ settings: settings
29
+ workingDirectory: (PBPlatform current folderForApplication: application)
30
+ debugMode: application class debugMode
27
31
]
28
32
29
33
{ #category : #accessing }
@@ -34,11 +38,30 @@ PBAbstractProcess class >> settings: settings workingDirectory: fileRef [
34
38
yourself
35
39
]
36
40
41
+ { #category : #accessing }
42
+ PBAbstractProcess class >> settings: settings workingDirectory: fileRef debugMode: flag [
43
+ ^ self new
44
+ settings: settings;
45
+ workingDirectory: fileRef;
46
+ debugMode: flag;
47
+ yourself
48
+ ]
49
+
37
50
{ #category : #hooks }
38
51
PBAbstractProcess class >> workingDirectory [
39
52
^ self platform folderForApplication: PBApplication
40
53
]
41
54
55
+ { #category : #accessing }
56
+ PBAbstractProcess >> debugMode [
57
+ ^ debugMode
58
+ ]
59
+
60
+ { #category : #accessing }
61
+ PBAbstractProcess >> debugMode: anObject [
62
+ debugMode := anObject
63
+ ]
64
+
42
65
{ #category : #accessing }
43
66
PBAbstractProcess >> errorMessage [
44
67
self subclassResponsibility
0 commit comments