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

prepdocs.ps1 should be updated to use the Invoke-ExternalCommand method #53

Open
jongio opened this issue Nov 6, 2023 · 4 comments
Open
Assignees
Labels
enhancement New feature or request Stale

Comments

@jongio
Copy link
Member

jongio commented Nov 6, 2023

This allows the code to execute outside of user profile settings:

See example here: https://github.com/Azure-Samples/azure-search-openai-demo-csharp/blob/main/scripts/prepdocs.ps1

Copy link

github-actions bot commented Jan 6, 2024

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this issue will be closed.

@github-actions github-actions bot added the Stale label Jan 6, 2024
@brunoborges
Copy link
Member

@dantelmomsft any thoughts on this one?

@dantelmomsft dantelmomsft added the enhancement New feature or request label May 3, 2024
@dantelmomsft
Copy link
Collaborator

I've tried to update the script using the Invoke-ExternalCommand function definition as provided in the example ( see attached file prepdocs.md)

. It didn't worked as expected:

  1. 'log' in STDOUT or STDERR is omitted. so as user not sure what's going on.
  2. it fails to run mvn command even if it's available. Same command works when using "Start-Process". See error below:
    image

@jongio any idea?

@dantelmomsft dantelmomsft self-assigned this May 3, 2024
@brunoborges
Copy link
Member

@jongio ping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Stale
Projects
None yet
Development

No branches or pull requests

3 participants