Is there a way to open a terminal on startup


#1

Hello, I’m using the package platformio-ide-terminal to run my gulp task. Is there a way to automatically open a terminal on start up?


#2

This should do it.

atom.commands.dispatch(document.querySelector('atom-workspace'), 'platformio-ide-terminal:toggle')

#3

Hey @DamnedScholar , thaks for your help, sadly it didn’t work :disappointed:

I also tried running the command on the console and it worked just fine, but no luck on the init.coffee


#4

This suggests that the terminal isn’t fully loaded or something until after init.coffee gets run. That’s odd. I’ve tried using setTimeout(), but I can’t get past the security policy.