Skip to content

Commit 160b24d

Browse files
committed
We still need to call python module, even with conda run.
Noticed by @guiwitz
1 parent 4b7775e commit 160b24d

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/main/java/fiji/plugin/trackmate/util/cli/CondaCLIConfigurator.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
* it under the terms of the GNU General Public License as
99
* published by the Free Software Foundation, either version 3 of the
1010
* License, or (at your option) any later version.
11-
*
11+
*
1212
* This program is distributed in the hope that it will be useful,
1313
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1414
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1515
* GNU General Public License for more details.
16-
*
16+
*
1717
* You should have received a copy of the GNU General Public
1818
* License along with this program. If not, see
1919
* <http://www.gnu.org/licenses/gpl-3.0.html>.
@@ -146,6 +146,9 @@ protected CondaCLIConfigurator()
146146
{
147147
cmd.add( "--no-capture-output" );
148148
}
149+
// Call Python -m
150+
cmd.add( "python" );
151+
cmd.add( "-m" );
149152
// The rest of the command, split by spaces.
150153
final String executableCommand = getCommand();
151154
final String[] split = executableCommand.split( " " );

0 commit comments

Comments
 (0)