How to keep a python flask console running in Windows even when the computer is logged off as it should act...












0















This question already has an answer here:




  • Deploy Flask app as windows service

    3 answers



  • How do you run a Python script as a service in Windows?

    9 answers




I have a flask service which acts as an api endpoint for a web application. This flask is run in Windows command prompt and kept open. When I log off the machine, the web application hosted in IIS is still accessible but the command prompt running flask is destroyed.










share|improve this question













marked as duplicate by davidism flask
Users with the  flask badge can single-handedly close flask questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Nov 15 at 1:08


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.















  • social.msdn.microsoft.com/Forums/en-US/…
    – Joost
    Nov 13 at 10:04
















0















This question already has an answer here:




  • Deploy Flask app as windows service

    3 answers



  • How do you run a Python script as a service in Windows?

    9 answers




I have a flask service which acts as an api endpoint for a web application. This flask is run in Windows command prompt and kept open. When I log off the machine, the web application hosted in IIS is still accessible but the command prompt running flask is destroyed.










share|improve this question













marked as duplicate by davidism flask
Users with the  flask badge can single-handedly close flask questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Nov 15 at 1:08


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.















  • social.msdn.microsoft.com/Forums/en-US/…
    – Joost
    Nov 13 at 10:04














0












0








0








This question already has an answer here:




  • Deploy Flask app as windows service

    3 answers



  • How do you run a Python script as a service in Windows?

    9 answers




I have a flask service which acts as an api endpoint for a web application. This flask is run in Windows command prompt and kept open. When I log off the machine, the web application hosted in IIS is still accessible but the command prompt running flask is destroyed.










share|improve this question














This question already has an answer here:




  • Deploy Flask app as windows service

    3 answers



  • How do you run a Python script as a service in Windows?

    9 answers




I have a flask service which acts as an api endpoint for a web application. This flask is run in Windows command prompt and kept open. When I log off the machine, the web application hosted in IIS is still accessible but the command prompt running flask is destroyed.





This question already has an answer here:




  • Deploy Flask app as windows service

    3 answers



  • How do you run a Python script as a service in Windows?

    9 answers








python windows flask






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 13 at 9:00









user3696835

82




82




marked as duplicate by davidism flask
Users with the  flask badge can single-handedly close flask questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Nov 15 at 1:08


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






marked as duplicate by davidism flask
Users with the  flask badge can single-handedly close flask questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Nov 15 at 1:08


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • social.msdn.microsoft.com/Forums/en-US/…
    – Joost
    Nov 13 at 10:04


















  • social.msdn.microsoft.com/Forums/en-US/…
    – Joost
    Nov 13 at 10:04
















social.msdn.microsoft.com/Forums/en-US/…
– Joost
Nov 13 at 10:04




social.msdn.microsoft.com/Forums/en-US/…
– Joost
Nov 13 at 10:04

















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

Guess what letter conforming each word

Port of Spain

Run scheduled task as local user group (not BUILTIN)