8
8
9
9
10
10
def PopenGateway (python = None ):
11
- """ instantiate a gateway to a subprocess
12
- started with the given 'python' executable.
11
+ """instantiate a gateway to a subprocess
12
+ started with the given 'python' executable.
13
13
"""
14
14
APIWARN ("1.0.0b4" , "use makegateway('popen')" )
15
15
spec = execnet .XSpec ("popen" )
@@ -18,22 +18,22 @@ def PopenGateway(python=None):
18
18
19
19
20
20
def SocketGateway (host , port ):
21
- """ This Gateway provides interaction with a remote process
22
- by connecting to a specified socket. On the remote
23
- side you need to manually start a small script
24
- (py/execnet/script/socketserver.py) that accepts
25
- SocketGateway connections or use the experimental
26
- new_remote() method on existing gateways.
21
+ """This Gateway provides interaction with a remote process
22
+ by connecting to a specified socket. On the remote
23
+ side you need to manually start a small script
24
+ (py/execnet/script/socketserver.py) that accepts
25
+ SocketGateway connections or use the experimental
26
+ new_remote() method on existing gateways.
27
27
"""
28
28
APIWARN ("1.0.0b4" , "use makegateway('socket=host:port')" )
29
29
spec = execnet .XSpec ("socket={}:{}" .format (host , port ))
30
30
return execnet .default_group .makegateway (spec )
31
31
32
32
33
33
def SshGateway (sshaddress , remotepython = None , ssh_config = None ):
34
- """ instantiate a remote ssh process with the
35
- given 'sshaddress' and remotepython version.
36
- you may specify an ssh_config file.
34
+ """instantiate a remote ssh process with the
35
+ given 'sshaddress' and remotepython version.
36
+ you may specify an ssh_config file.
37
37
"""
38
38
APIWARN ("1.0.0b4" , "use makegateway('ssh=host')" )
39
39
spec = execnet .XSpec ("ssh=%s" % sshaddress )
0 commit comments