Prevent windows cmd popup

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
FusionshadowXJ
Posts: 4
Joined: 27 May 2015, 08:41

Prevent windows cmd popup

Post by FusionshadowXJ »

Hey guys - I've been using filebot for the past few months and been pretty happy with it on my windows desktop. One thing that's been bothering me is that whenever a torrent finishes in uTorrent, it will run the filebot amc script in a new cmd process, which will interrupt anything else I'm doing on the computer, such as gaming etc.

I saw another article for somebody experiencing this issue that changed the script from pointing to filebot to filebot.launcher instead, but when I changed my utorrent line to use filebot.launcher instead, it would never execute at all, nor update my log file. Anybody have any advice on how I could go about getting filebot processes that spin up after a torrent finishes to run as a background process instead of foreground?

Here is my script that I have set in uTorrent-

filebot -script fn:amc --output "E:" --log-file E:\Downloaded\amc.log --action copy --conflict override -non-strict --def deleteAfterExtract=y clean=y plex=localhost "seriesFormat=E:/TV/{n}/{'Season '+s}/{n} - {s00e00} - {t}" "animeFormat=E:/Anime/{n}/{'Season '+s}/{n} - {s00e00} - {t}" "movieFormat=E:/Movies/{n} {y}/{fn}" "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D"


Any advice would be amazing!

~Fusionshadow~
User avatar
rednoah
The Source
Posts: 23928
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Prevent windows cmd popup

Post by rednoah »

Read the manual => viewtopic.php?f=4&t=215#p2024
The Manual wrote: :idea: If you have PATH issues you try using the absolute path to the executable. :idea:
:arrow: Use absolute paths.
:idea: Please read the FAQ and How to Request Help.
FusionshadowXJ
Posts: 4
Joined: 27 May 2015, 08:41

Re: Prevent windows cmd popup

Post by FusionshadowXJ »

I don't think I'm having path issues though. If I type filebot.launcher into cmd it pops open the filebot GUI
User avatar
rednoah
The Source
Posts: 23928
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Prevent windows cmd popup

Post by rednoah »

utorrent != cmd

So either use the correctly quoted absolute path, or add an cmd /c in the beginning.
:idea: Please read the FAQ and How to Request Help.
FusionshadowXJ
Posts: 4
Joined: 27 May 2015, 08:41

Re: Prevent windows cmd popup

Post by FusionshadowXJ »

cmd /c worked! Thank you! You guys are amazing :)
Post Reply