Skip to content

Create xASL_system for more robust CLI/system calls #172

@HenkMutsaerts

Description

@HenkMutsaerts

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 ~./bashrc that 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

Release notes

Duplicate, done in #845

Metadata

Metadata

Labels

duplicateThis issue or pull request already exists

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions