Benjmhart / clipqueue

a terminal clipboard manager written in haskell + Javascript
0 stars 0 forks source link

parse command line arguments & control subprocesses #1

Closed Benjmhart closed 5 years ago

Benjmhart commented 5 years ago

introduce a mode data type and initial parsing, display mode in UI We will be introducing the following 'modes' that will dictate how child processes run:

the second argument is an optional filename that will be used in place of ~/queue.txt

the third argument is a secondary save location for the file at the end of the process.

1) Normal

Benjmhart commented 5 years ago

to kill child processes https://www.stackage.org/haddock/nightly-2019-07-15/typed-process-0.2.6.0/System-Process-Typed.html#t:ProcessConfig