Skip to content

-edScript Argument Does Not Support Relative Paths in Windows and Linux #8

@mahesh-tier1app

Description

@mahesh-tier1app

The -edScript argument currently requires an absolute path to the custom script in order to function correctly. This limits flexibility and user convenience.

Expected Behavior:

  • First, attempt to resolve the provided path as an absolute path.
  • If that fails, check for the script in the current working directory relative to the location from where the yc script is executed.

Example Scenarios

Custom script in a subdirectory:

If the yc-360 script is located at D:\opt\yc and the custom script is located at D:\opt\yc\custom\capture.sh, the following command should work:

yc -edScript custom/capture.bat

Custom script in the same directory:

If both yc-360 and the custom script are located in the same directory, the following should be valid:

yc -edScript capture.bat

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions