Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do not run commands split on spaces #861

Merged
merged 7 commits into from
Jan 11, 2021
Merged

do not run commands split on spaces #861

merged 7 commits into from
Jan 11, 2021

Conversation

iscai-msft
Copy link
Contributor

@iscai-msft iscai-msft commented Jan 11, 2021

@seankane-msft had an issue running autorest on his local machine, and this was down to the fact that he has a space in his root directory, so this line failed, as we were splitting up the root directory based off of space. Made this PR to fix that mistake

start.py Outdated Show resolved Hide resolved
run-python3.js Outdated Show resolved Hide resolved
@iscai-msft iscai-msft changed the title do not split based off of spaces do not run commands split on spaces Jan 11, 2021
prepare.py Outdated

python_run(venv_context, "pip", "install -r {}".format(_ROOT_DIR / 'dev_requirements.txt'))
python_run(venv_context, "pip", ["install", "-r", "{}".format(_ROOT_DIR / 'dev_requirements.txt')])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you actually need to do a format here?(same in install.py)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i can also use. a str cast. need to sinceit's a Path object, not a string. Might as well changeitto astr cast forreadibility

venvtools.py Outdated Show resolved Hide resolved
@iscai-msft iscai-msft merged commit fc63bb0 into autorestv3 Jan 11, 2021
@iscai-msft iscai-msft deleted the output_errors branch January 11, 2021 21:44
iscai-msft added a commit that referenced this pull request Jan 19, 2021
…into paging_separate_operations

* 'autorestv3' of https://github.com/Azure/autorest.python:
  bump m4 version and prepare for release (#866)
  fix links (#863)
  do not run commands split on spaces (#861)
  Docs (#853)
iscai-msft added a commit that referenced this pull request Mar 5, 2021
…into multiapi_diff_signatures

* 'autorestv3' of https://github.com/Azure/autorest.python: (25 commits)
  Add help-content (#898)
  Update package.json
  Update ChangeLog.md
  Fix: Loading 'python' nested config (#897)
  skip tests (#891)
  fix debugging (#890)
  add invoke to client (#873)
  regen samples (#881)
  Update package.json
  bump autorest core version (#880)
  make m4 version a min version
  Update ChangeLog.md
  catch up with tests (#879)
  Increase m4 (#877)
  add new xml tests (#878)
  Catch deserialize error (#870)
  regen and move code model specific args to metadata.json (#867)
  bump m4 version and prepare for release (#866)
  fix links (#863)
  do not run commands split on spaces (#861)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants