Page 1 of 2

[0.9.0] Executing with Notepad++ (nppexec)

Posted: Sat Dec 28, 2013 2:40 pm
by IMP1
I used to run LÖVE stuff directly from notepad++ by executing the following (by use of the nppexec plugin):

Code: Select all

"C:\Program Files\LOVE\love.exe" "$(CURRENT_DIRECTORY)"
But since 0.9.0, this has stopped working. The bult-in console for NPP says:

Code: Select all

"C:\Program Files\LOVE\love.exe" "C:\Users\IMP1\Documents\LOVE games\multiplayer\server"
Process started >>>
(the first line of which being the code it's executing) but nothing happens.

But if I copy and paste exactly said first line (the one generated by npp) into the command line, it works. So I'm not sure whether the problem is with Notepad++ or 0.9.0

Re: [0.9.0] Executing with Notepad++ (nppexec)

Posted: Sat Dec 28, 2013 4:17 pm
by Ranguna259
Add a "\" to the end

I use it like this:

Code: Select all

"C:\Program Files\LOVE\love.exe" "$(CURRENT_DIRECTORY)"

Re: [0.9.0] Executing with Notepad++ (nppexec)

Posted: Sat Dec 28, 2013 7:28 pm
by IMP1
Add a "\" to what?

And the line you've given seems to be identical to the one I'm using... unless I'm being blind

Re: [0.9.0] Executing with Notepad++ (nppexec)

Posted: Sun Dec 29, 2013 3:03 am
by iPoisonxL
Add a "\" to this, since it's a folder:

Code: Select all

"C:\Users\IMP1\Documents\LOVE games\multiplayer\server\"
notice the added \

Re: [0.9.0] Executing with Notepad++ (nppexec)

Posted: Sun Dec 29, 2013 7:52 pm
by IMP1
Okay, that still doesn't work.
And the command line doesn't need the ending backslash.
And it worked for previous versions of LOVE without the ending backslash.

Re: [0.9.0] Executing with Notepad++ (nppexec)

Posted: Mon Dec 30, 2013 2:07 am
by iPoisonxL
Why don't you just use "$(CURRENT_DIRECTORY)"?

Re: [0.9.0] Executing with Notepad++ (nppexec)

Posted: Mon Dec 30, 2013 4:35 pm
by IMP1
I am.

Re: [0.9.0] Executing with Notepad++ (nppexec)

Posted: Mon Dec 30, 2013 5:04 pm
by mickeyjm
I am doing exactly as you describe and it works, are you sure that

Code: Select all

C:\Program Files\LOVE\love.exe
actually exists?

EDIT: Actually I don't quote $(CURRENT_DIRECTORY), maybe that makes a difference?

[]

Posted: Mon Dec 30, 2013 5:26 pm
by bekey
-snip-

Re: [0.9.0] Executing with Notepad++ (nppexec)

Posted: Mon Dec 30, 2013 6:10 pm
by iPoisonxL
I think quoting $(CURRENT_DIRECTORY) makes a difference, I'm not sure.