8000 Put '& { }' around code · vors/jupyter-powershell@0446b3d · GitHub
[go: up one dir, main page]

Skip to content

Commit 0446b3d

Browse files
committed
Put '& { }' around code
1 parent 8039e38 commit 0446b3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

powershell_kernel/kernel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def do_execute(self, code, silent, store_history=True,
5555
return {'status': 'ok', 'execution_count': self.execution_count,
5656
'payload': [], 'user_expressions': {}}
5757

58-
self.proxy.send_input(code)
58+
self.proxy.send_input('& { ' + code + ' }')
5959
output = self.proxy.get_output()
6060

6161
message = {'name': 'stdout', 'text': output}

0 commit comments

Comments
 (0)
0