mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
Removed quotes when composing the command for the source_cmd
This commit is contained in:
parent
50cf1d983b
commit
17bf2a9a86
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ def source_cmd(args, stdin=None):
|
|||
args[0] = fpath if fpath else args[0]
|
||||
if not os.path.isfile(args[0]):
|
||||
raise FileNotFoundError(args[0])
|
||||
prevcmd = 'call "{}"'.format('" "'.join(args))
|
||||
prevcmd = 'call {}'.format(' '.join(args))
|
||||
prevcmd += '\necho off'
|
||||
args.append('--prevcmd={}'.format(prevcmd))
|
||||
args.insert(0, 'cmd')
|
||||
|
|
Loading…
Add table
Reference in a new issue