Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ssh2ライブラリを使用して、テスト スイート中にテスト用の sftp サーバーを作成しています。サーバーは正常に起動し、テストは期待どおりに実行されます。すべて問題ありません。
ssh2
ただし、すべてのテストが実行された後、sftp サーバー プロセスがまだリッスン/実行中であるため、テスト スクリプトは終了しません。
プログラムで sftp サーバーをシャットダウンするにはどうすればよいですか?