question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to run process on Mac

See original GitHub issue

I have a simple task that has the following snippet:

  var globalJson = DeserializeJsonFromFile<dynamic>(globalJsonFile);
  StartProcess("dnvm",  "install " + globalJson.sdk.version);

The call results in: Error: ApplicationName=‘dnvm’, CommandLine=‘install 1.0.0-rc1-final’, CurrentDirectory=‘/Users/greg/Code/portal’, Native error= Cannot find the specified file. I can confirm that dnvm is accessible globally. Am I missing something here? I am using version 0.8.0.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
gregbtycommented, Feb 11, 2016

Thanks I’ll try that out. For now, I used the following technique (https://github.com/skimur/skimur/blob/master/common.cake) and it works just fine now. I’m going to close this.

0reactions
adamhathcockcommented, Mar 11, 2016

Also had this issue on windows but doing the same and it worked.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Solved]Terminal Says Operation Not Permitted in macOS ...
Summary: Unable to run command in Mac Terminal with the "Operation not permitted" error message? Here, we will explain why and provides solutions...
Read more >
Unable to run any command on mac terminal
Here is the error it shows when I open new tab in terminal. could not create a new process and open a pseudo-tty....
Read more >
Repair a storage device in Disk Utility on Mac
If Disk Utility can't repair your disk, or you receive a report that the First Aid process failed, try to repair the disk...
Read more >
How to force an app to quit on your Mac
To quit a Mac app normally, choose Quit from the app's menu in the menu bar, or press Command-Q. If the app doesn't...
Read more >
How to fix 'The application "..." can't be opened' on Mac?
Open a terminal window (CMD + Space -> terminal); · Using the cd command, navigate to the place where the application is stored:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found