Skip to content

Commit 00fec5c

Browse files
authored
Merge pull request #23774 from plotfi/master
Fixing PlaygroundTransform/placeholder.swift to pass on Windows.
2 parents b3a2e40 + 90670fc commit 00fec5c

File tree

1 file changed

+2
-1
lines changed
  • test/PlaygroundTransform/Inputs

1 file changed

+2
-1
lines changed

test/PlaygroundTransform/Inputs/not.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
sys.exit(0)
88

99
try:
10-
subprocess.check_call(shlex.split(sys.argv[1]))
10+
isPosix = (sys.platform != "win32")
11+
subprocess.check_call(shlex.split(sys.argv[1], posix=isPosix))
1112
sys.exit(1)
1213
except subprocess.CalledProcessError as e:
1314
sys.exit(0)

0 commit comments

Comments
 (0)