Skip to content

ayoubelmhamdi/mini_runner.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Ayoub EL Mhamdi
Jul 14, 2023
1f2df1c · Jul 14, 2023

History

2 Commits
Jul 14, 2023
Jul 14, 2023
Jul 14, 2023

Repository files navigation

MINI RUNNER

mini_runner python main.py
:nnoremap <space><space> :w<cr>:silent! !touch /tmp/mini_runner<cr>

TODO:

This PR is needed.

PRINCIPE

job(){
  eval "$COMMAND"
}

main(){
  while true;do
    sleep 1
    echo
    while [ ! -f "$tmpFILE" ];do
      sleep 1
    done
    job
    rm -f "$tmpFILE"
  done
}

About

run code in terminal from another app easily

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages