-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Labels
featureNew feature, enhancement or requestNew feature, enhancement or request
Milestone
Description
Description
Inspired by issue 88 and xASL_adm_UnixPath, I suggest we create a single xASL_system function that can always be used to include:
- WSL support
- Deployment support (but with/without compilation should work similarly)
- escaping whitespace & other (semi-)illegal characters (both in Windows & Unix-like)
- other functionality in
xASL_adm_UnixPath - Solve for xASL_SysMove the following comment to issue 88: xASL_SysMove Error #88 (comment)
- Add Linux initialization such as
source ~./bashrcthat may initialize some things needed for e.g., git to run properly (if another git version is specified in this startup script that is then not found by Matlab when performing system calls, e.g., for git pulling from Matlab).
See also HERE
I've copied this from the original issue #172, and closed it as duplicate, as Michael here took a different stab at this than the original idea :) (sorry @MichaelStritt for the misunderstanding :)
- I've now created
xASL_systemto initialise bash or zsh (depending on Linux or macOS), which should enable e.g., git cloning within a system call from Matlab. - I've adapted
xASL_qc_TestExploreASLaccordingly
Requirements
Optional: add feature requirements here
How to test
Optional: insert description about how to test the code changes here
Release notes
New xASL_system function for all command line calls.
Metadata
Metadata
Assignees
Labels
featureNew feature, enhancement or requestNew feature, enhancement or request