mirror of
https://github.com/j1g5awi/krunner-vscode.git
synced 2024-11-23 09:49:30 +00:00
Run VSCode in shell mode to ensure paths are expanded correctly. (#6)
This could have been done manually, but relying on the shell should cover more edge cases
This commit is contained in:
parent
ea2aba100f
commit
03efa27327
1 changed files with 2 additions and 2 deletions
|
@ -95,8 +95,8 @@ class Runner(dbus.service.Object):
|
||||||
def Run(self, data: str, action_id: str):
|
def Run(self, data: str, action_id: str):
|
||||||
subprocess.run([
|
subprocess.run([
|
||||||
"code" if not action_id else "xdg-open",
|
"code" if not action_id else "xdg-open",
|
||||||
data
|
str(data)
|
||||||
])
|
], shell=True)
|
||||||
|
|
||||||
runner = Runner()
|
runner = Runner()
|
||||||
loop = GLib.MainLoop()
|
loop = GLib.MainLoop()
|
||||||
|
|
Loading…
Reference in a new issue