jEdit Community - Resources for users of the jEdit Text Editor
Creating a Console command to run in the background
Submitted by ntbenari on Monday, 10 December, 2007 - 07:08
I'd like a Console command to run in the background.
If I enter & at the end of the line within the Console
window it works, but I get parse errors when I try to add
it in the Commando xml file.
I've tried:
buf.append('&');
buf.append('&&');
buf.append('\&');
and every other escape I can think of ... but no luck.

Thanks
Moti
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
batch file
by cvicari on Tue, 11/12/2007 - 17:42
Try creating a batch file instead, let's call it my.sh, insert a line with "mycommand &" in the batch file, and then call my.sh in the commando file.
 
easy solution
by ntbenari on Tue, 18/12/2007 - 10:09
Actually the solution is easy:
using the ampersand-amp-semicolon
representation for the character.
User login
Browse archives
« September 2024  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   97301
Context Free Art (*.cfdg)   0.31   46061
BBEdit scheme   1.0   18600
JBuilder scheme   .001   18501
ColdFusion scheme   1.0   18030
R Edit Mode - extensive version   0.1   17480
Advanced HTML edit mode   1.0   16212
Matlab Edit Mode   1.0   16074
jEdit XP icons   1.0   15235
XP icons for jEdit   1.1   14299