Skip to content

source argument only allows relative path, breaks with absolute path #305

@alexjpwalker

Description

@alexjpwalker

Description

source argument only allows relative path, breaks with absolute path

Environment

  1. TypeDB distribution: CE
  2. TypeDB version: 3.4.4
  3. Environment: Windows
  4. Console version: 3.4.4
  5. Other details:

Reproducible Steps

  1. Set up

Connect to a database and open a transaction

  1. Execute

Run source with an absolute path

  1. Unexpected result
>> transaction schema social-network
social-network::schema>> source "C:\Users\too_e\Downloads\schema.tql"
Error executing command: 'source "C:\Users\too_e\Downloads\schema.tql"'
File not found: C:\Users\too_e\"C:\Users\too_e\Downloads\schema.tql"
social-network::schema>>                                       

Expected result

Absolute path should work

Additional information

Relevant logs from TypeDB or Console:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions