0

ローカル マシンに次のような sh スクリプトがあります。

// run_script.sh
#!/bin/sh -e
echo "Hello"

このスクリプトをコピーせずにリモートサーバーで実行することはできますか? 次のようなもの:

grunt.initConfig({
  script_path: '/path/to/run_script.sh',

  shell: {
    makeDir: {
      command: '<%= script_path.sh %>'
    }
  }
});
4

1 に答える 1