Programmer's WorkBench (pwb.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Shell Function
                                             Up Contents Index Back
─────Programmer's WorkBench─────────────────────────────────────────────────
 
     Shell («shell»)
          Runs an operating-system command shell. To return to PWB, type
          'exit' at the operating-system prompt.
          See: File menu, DOS Shell
 
          WARNING: Do not start terminate-and-stay-resident (TSR)
                   programs in a shell. This causes unpredictable
                   results.
 
     Arg Shell («arg» «shell»)
          Runs the text from the cursor to the end of the line as a
          command to the shell, and returns to PWB.
          See: Run menu, Run DOS Command
 
     Arg <boxarg> │ <linearg> Shell («arg» <boxarg> │ <linearg> «shell»)
          Runs each selected line as a separate command to the shell,
          and returns to PWB.
 
     Arg <textarg> Shell («arg» <textarg> «shell»)
          Runs <textarg> as a command to the shell, and returns to PWB.
 
     Meta ... Shell («meta» ... «shell»)
          Runs a shell, ignoring the Autosave switch. Modified files are
          not saved to disk, but they are retained in virtual memory.
          See: Autosave
 
     Returns
 
     True:  Shell ran successfully.
     False: Invalid argument, or error starting the operating system
            command procedure.
 
     See
 
     Askrtn, Restart, Savescreen
                                    -♦-