Skip to content

Commit 347de22

Browse files
committed
R2021a+ syntax
1 parent 20b6c42 commit 347de22

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

+stdlib/+fileio/extract_zstd.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function extract_zstd(archive, out_dir)
1313
extract_zstd_bin(archive, out_dir)
1414
end
1515

16-
[ret, msg] = stdlib.sys.subprocess_run([exe, "-E", "tar", "xf", archive], "cwd", out_dir);
16+
[ret, msg] = stdlib.sys.subprocess_run([exe, "-E", "tar", "xf", archive], cwd=out_dir);
1717
assert(ret == 0, "problem extracting %s %s", archive, msg)
1818

1919
end

+stdlib/subprocess_run.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
end
3030

3131
[status, stdout, stderr] = stdlib.sys.subprocess_run(cmd_array, ...
32-
'env', opt.env, 'cwd', opt.cwd, "stdin", opt.stdin);
32+
env=opt.env, cwd=opt.cwd, stdin=opt.stdin);
3333

3434
if nargout<3
3535
fprintf(2, stderr)

0 commit comments

Comments
 (0)