メインコンテンツまでスキップ

Exciting new changes are coming to the Knowledge Base site soon!
Starting April 4, 2023, you will notice Support-Specific categorization and improvements to the search filters on the site. In May, we will be launching a new and enhanced Site UI and Navigation. To know more, read our Knowledge Article.

SnapCreator 4.1 以降では、 python_home ではなく、 /bin/sh に .py スクリプトを実行します

Views:
40
Visibility:
Public
Votes:
0
Category:
snap-creator-framework
Specialty:
snapx
Last Updated:

のしんだ

に適用されます

  • Snap Creator Framework ( SCF ) 4.1 、 4.1.2
  • プレスクリプトとポストスクリプトで使用される Python スクリプト
  • python_home に Python 実行可能ファイルを設定します

問題

SCF 4.1 では、 python_home を使用する代わりに、 /bin/sh を指定して .py が実行されます。

shebang ( #! )がない場合、 .py スクリプトは実行されません。 Python 用の行。

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

Scan to view the article on your device