I frequently give the same arguments to run a program.
Just for example:
import sys
arg = sys.argv[1]
print(arg)
I can save a profile (cmd-shf-i) with a program argument.

It works until I do not close the atom. But, when I restart the atom, the saved profiles are DELETED!
How can I save these profiles?
I think you may be confused as to what profiles and run options are. CMD+Shift+I is to access the temporary Run Options for Script, and they are cleared every time you close Atom. To save the current run options click "Save as profile" and you will be prompted for a profile name and it will save for later use, used when you run "Script: Run with Profile" by pressing CMD+Shift+P and searching for that.
The issue that I'm sure you meant is that the Run Options are cleared on shut down, which is obviously frustrating and if you're constantly having to re-enter commands into the options it's extremely painful. As far as I'm aware the only work around for this is to create a new profile and configure the run options there, and then run that with your code every time. I guess the way to minimalise the effort and workaround is to rebind Script: Run with Profile to a simpler keystroke.
I've been having the same issue, as I consistently code in Python 3 I keep on having to enter python3 for my files to run. Creating profiles, I know, is a potential workaround but it would be so much simpler for a save function in the Run Options section.
I am having the same issue as @bhishanpdl. I setup the command path and any arguments I need, click "Save as Profile" then enter a name for the profile, then while Atom is open everything is fine but after I restart the profile is gone.
Same here. The saved profiles disappear after closing atoms. I need to reenter everytime the profile for the current session.
Has there be a fix found for this? I'm having the same issue where I save profiles for python 2 and 3 (py27 and py37). And they work great as long as atom stays open, but once I close and reopen Atom, there are no profiles anymore and I need to remake them.
I am having the same issue-has anyone found a work around or can you post a detailed step list for those of us who are brand new? Thank you.
Still no fix guys?
The same problem still exists.
Most helpful comment
I am having the same issue as @bhishanpdl. I setup the command path and any arguments I need, click "Save as Profile" then enter a name for the profile, then while Atom is open everything is fine but after I restart the profile is gone.