tingbot / tide-electron

📝   Simple IDE for developing Tingbot apps
Other
22 stars 7 forks source link

Pop open console when running apps, show debug output #20

Closed joerick closed 8 years ago

joerick commented 8 years ago

The console is also interactive - this will improve the user experience for plain Python apps as well as help when SSH login credentials are needed (among other things I'm sure)

Rob4001 commented 8 years ago

Due to the native nature of pty.js there has been some incompatibility with some OSs. Currently looking into if ptyw.js fixes these issues

Rob4001 commented 8 years ago

pty.js doesn't work on linux or windows, ptyw.js does if you use electron-rebuild which ensures that native modules are recompiled with the correct node headers for he version of electron we are building for

joerick commented 8 years ago

Thanks for looking into that, Rob. I'll try and get it hooked up with ptyw and electron-rebuild

joerick commented 8 years ago

ptyw.js has a bug on Mac where it doesn't know the result code 🙄 ... but it does work. Probably best to start there and see if I can fix the return code issue.

joerick commented 8 years ago

Submitted a PR to ptyw.js, we'll see if it gets merged soon. If not, we can use my fork.

joerick commented 8 years ago

Argh, I've been trying to set up a Windows 7 machine for development, but so far got nowhere (stuck with a node-gyp error). Have you got a working install @Rob4001 or @StefanJanssen95 ? If you got a chance, would you be able to test this branch to see if it's working now?