Timeline for Run Command Not Executing Node
Current License: CC BY-SA 3.0
29 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 20, 2016 at 15:11 | vote | accept | William | ||
| Nov 24, 2015 at 17:00 | history | edited | William | CC BY-SA 3.0 | added 124 characters in body |
| Nov 20, 2015 at 5:36 | history | edited | William | CC BY-SA 3.0 | edited title |
| Nov 20, 2015 at 5:36 | vote | accept | William | ||
| Nov 24, 2015 at 17:00 | |||||
| S Nov 20, 2015 at 5:27 | history | bounty ended | William | ||
| S Nov 20, 2015 at 5:27 | history | notice removed | William | ||
| S Nov 18, 2015 at 16:08 | history | bounty started | William | ||
| S Nov 18, 2015 at 16:08 | history | notice added | William | Reward existing answer | |
| Nov 16, 2015 at 21:00 | answer | added | WReach | timeline score: 9 | |
| Nov 16, 2015 at 20:26 | comment | added | William | @WReach You deserve a 100 point bounty for discovering this. Please post that as a response if you don't mind(although it is a node fix and not a mathematica). Again you don't realize how much I appreciate this. | |
| Nov 16, 2015 at 20:18 | comment | added | WReach | This is a known problem with nodejs on Windows. As a work-around, try writing synchronously to file descriptor 1: Import["!node.exe -e require('fs').writeSync(1,'test')", "Text"]. | |
| Nov 16, 2015 at 19:52 | history | reopened | bbgodfrey dr.blochwave William WReach Karsten7 | ||
| Nov 16, 2015 at 19:48 | history | edited | William | CC BY-SA 3.0 | edited title |
| Nov 16, 2015 at 19:25 | comment | added | WReach | I can reproduce this problem in Version 10.3 on Win7/x64. | |
| Nov 16, 2015 at 19:12 | comment | added | Yves Klett | Potentially useful: system information, more info on the program used, PATH / Path$ info, output of comparable shell commands. | |
| Nov 16, 2015 at 17:58 | history | edited | William | CC BY-SA 3.0 | deleted 9 characters in body |
| Nov 16, 2015 at 17:55 | comment | added | William | @YvesKlett Yes I'm hoping someone can reproduce it because I am quit confused. Import["!where node", "Text"] works while Import["!\"C:\\Program Files\\nodejs\\node.exe\" test.js", "Text"] doesn't appear to execute at all. I also tried Import["!cmd /c \"C:\\Program Files\\nodejs\\node.exe\" -p \ console.log('test')", "Text"] with cmd /c put on the front and that also doesn't work. | |
| Nov 16, 2015 at 17:23 | comment | added | Yves Klett | You are assuming that we have the same directory structure and installation as you do. I´ll happily support reopening if someone can reproduce this. | |
| Nov 16, 2015 at 17:12 | history | edited | William | edited tags | |
| Nov 16, 2015 at 17:09 | review | Reopen votes | |||
| Nov 16, 2015 at 19:52 | |||||
| Nov 16, 2015 at 16:52 | history | edited | William | CC BY-SA 3.0 | added 30 characters in body |
| Nov 16, 2015 at 16:51 | comment | added | William | @JasonB Just 'test' as output. There are a lot of commands that don't work ffmpeg -help doesn't work also I feel like there is enough information to reproduce the bug and therefore the question shouldn't have been closed as is. | |
| Nov 16, 2015 at 16:49 | comment | added | William | @Szabolcs Yes it is in my command path because node test.js works. I added an exact path so that is no longer a question. I feel like there is enough information to reproduce the bug. | |
| Nov 16, 2015 at 16:43 | history | closed | Yves Klett CommunityBot dr.blochwave MarcoB m_goldberg | Not suitable for this site | |
| Nov 16, 2015 at 14:36 | review | Close votes | |||
| Nov 16, 2015 at 16:44 | |||||
| Nov 16, 2015 at 12:44 | comment | added | Szabolcs | Also, is the node command in your PATH? Did you verify that it is still in your PATH when using Mathematica (GetEnvironment)? | |
| Nov 16, 2015 at 8:04 | comment | added | Jason B. | What is that supposed to do? What happens when you type "node -p console.log('test')" into the command line? | |
| Nov 16, 2015 at 5:00 | history | edited | William | CC BY-SA 3.0 | added 4 characters in body |
| Nov 16, 2015 at 4:52 | history | asked | William | CC BY-SA 3.0 |